]> granicus.if.org Git - curl/commit
New libcurl option to keep sending on error
authorMichael Kaufmann <mail@michael-kaufmann.ch>
Thu, 22 Sep 2016 20:15:13 +0000 (22:15 +0200)
committerMichael Kaufmann <mail@michael-kaufmann.ch>
Thu, 22 Sep 2016 20:22:31 +0000 (22:22 +0200)
commite9e536619333b0ebd1b096be5c27a39c78e812c5
tree44c39aad0c5acc5f0d330653ac214c274afdef38
parentd1f1c857ad559eafef9373621d30174c046261ef
New libcurl option to keep sending on error

Add the new option CURLOPT_KEEP_SENDING_ON_ERROR to control whether
sending the request body shall be completed when the server responds
early with an error status code.

This is suitable for manual NTLM authentication.

Reviewed-by: Jay Satiro
Closes https://github.com/curl/curl/pull/904
14 files changed:
docs/libcurl/curl_easy_setopt.3
docs/libcurl/opts/CURLOPT_FAILONERROR.3
docs/libcurl/opts/CURLOPT_KEEP_SENDING_ON_ERROR.3 [new file with mode: 0644]
docs/libcurl/opts/Makefile.am
docs/libcurl/symbols-in-versions
include/curl/curl.h
lib/http.c
lib/url.c
lib/urldata.h
packages/OS400/curl.inc.in
tests/data/Makefile.inc
tests/data/test1533 [new file with mode: 0644]
tests/libtest/Makefile.inc
tests/libtest/lib1533.c [new file with mode: 0644]