note 123340 added to function.curl-setopt

From: Date: Tue, 13 Nov 2018 13:21:44 +0000
Subject: note 123340 added to function.curl-setopt
Groups: php.notes 
Request: Send a blank email to php-notes+get-209705@lists.php.net to get a copy of this message
When you get this error using a PUT request: "SSL read: error:00000000:lib(0):func(0):reason(0), errno 104") It could be caused by: <?php curl_setopt($ch, CURLOPT_PUT, TRUE); ?> Instead try: <?php curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "PUT"); ?> ---- Server IP: 92.48.119.85 Probable Submitter: 95.97.197.90 ---- Manual Page -- http://php.net/manual/en/function.curl-setopt.php Edit -- https://master.php.net/note/edit/123340 Del: integrated -- https://master.php.net/note/delete/123340/integrated Del: useless -- https://master.php.net/note/delete/123340/useless Del: bad code -- https://master.php.net/note/delete/123340/bad+code Del: spam -- https://master.php.net/note/delete/123340/spam Del: non-english -- https://master.php.net/note/delete/123340/non-english Del: in docs -- https://master.php.net/note/delete/123340/in+docs Del: other reasons-- https://master.php.net/note/delete/123340 Reject -- https://master.php.net/note/reject/123340 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#209705) next »