note 121927 added to function.curl-multi-getcontent

From: Date: Tue, 28 Nov 2017 05:45:33 +0000
Subject: note 121927 added to function.curl-multi-getcontent
Groups: php.notes 
Request: Send a blank email to php-notes+get-209232@lists.php.net to get a copy of this message
It's probably a bug in the curl multi implementation: In many many cases you keep the curl connection alive after a curl_exec(). With curl_multi that's not possible if you don't do this after every get_content() : curl_multi_remove_handle($ch); curl_multi_add_handle($ch); I've not yet tested if this also breaks the keepalive connection but if you don't do this you'll just get the old previous response after each curl_multi_exec() ---- Server IP: 208.43.231.9 Probable Submitter: 80.89.98.86 ---- Manual Page -- http://php.net/manual/en/function.curl-multi-getcontent.php Edit -- https://master.php.net/note/edit/121927 Del: integrated -- https://master.php.net/note/delete/121927/integrated Del: useless -- https://master.php.net/note/delete/121927/useless Del: bad code -- https://master.php.net/note/delete/121927/bad+code Del: spam -- https://master.php.net/note/delete/121927/spam Del: non-english -- https://master.php.net/note/delete/121927/non-english Del: in docs -- https://master.php.net/note/delete/121927/in+docs Del: other reasons-- https://master.php.net/note/delete/121927 Reject -- https://master.php.net/note/reject/121927 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#209232) next »