note 77224 added to function.curl-setopt

From: Date: Mon, 20 Aug 2007 21:03:09 +0000
Subject: note 77224 added to function.curl-setopt
Groups: php.notes 
Request: Send a blank email to php-notes+get-129651@lists.php.net to get a copy of this message
This is very clear in hindsight, but it still cost me several hours: curl_setopt($session, CURLOPT_HTTPPROXYTUNNEL, 1); means that you will tunnel THROUGH the proxy, as in "your communications will go as if the proxy is NOT THERE". Why do you care? - Well, if you are trying to use, say, Paros, to debug HTTP between your cURL and the server, with CURLOPT_HTTPPROXYTUNNEL set to TRUE Paros will not see or log your traffic thus defeating the purpose and driving you nuts. There are other cases, of course, where this option is extremely useful... ---- Server IP: 64.71.164.2 Probable Submitter: 66.47.235.168 ---- Manual Page -- http://www.php.net/manual/en/function.curl-setopt.php Edit -- https://master.php.net/note/edit/77224 Del: integrated -- https://master.php.net/note/delete/77224/integrated Del: useless -- https://master.php.net/note/delete/77224/useless Del: bad code -- https://master.php.net/note/delete/77224/bad+code Del: spam -- https://master.php.net/note/delete/77224/spam Del: non-english -- https://master.php.net/note/delete/77224/non-english Del: in docs -- https://master.php.net/note/delete/77224/in+docs Del: other reasons-- https://master.php.net/note/delete/77224 Reject -- https://master.php.net/note/reject/77224 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#129651) next »