]> granicus.if.org Git - php/commit
Allow NULL as value for CURLOPT_CUSTOMREQUEST option.
authordatibbaw <datibbaw@php.net>
Mon, 18 Nov 2013 04:06:27 +0000 (12:06 +0800)
committerTjerk Meesters <datibbaw@php.net>
Fri, 28 Feb 2014 10:27:22 +0000 (18:27 +0800)
commit488e64dbe4052eafd8b8bb5dd07b0c9ea6fa97f3
tree5bbf5e28192e7805491c8c6c7abf0d8e376e24b9
parent5fc7382a57550c8997cf00c0839916c78766bfe5
Allow NULL as value for CURLOPT_CUSTOMREQUEST option.

Added test case.

Refactored the code to isolate the string handling. Fixed return values to use SUCCESS and FAILURE.

Removed unused error variable.

Indentation fix.
Removed the ugly goto.
ext/curl/interface.c
ext/curl/php_curl.h
ext/curl/tests/bug66109.phpt [new file with mode: 0644]
ext/curl/tests/responder/get.php