summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* multi tests: OOM handling fixesYang Tse2011-10-2122-1391/+1090
| | | | Additionally, improved error checking and logging.
* Fixed compilation when HTTP or cookies are disabledDan Fandrich2011-10-202-0/+4
|
* KNOWN_BUGS: #74 fixedDaniel Stenberg2011-10-201-6/+0
| | | | | | Multiple auths in the same WWW-Authenticate header Fixed in commit 7d81e3f7193b8c
* Curl_http_input_auth: handle multiple auths in WWW-AuthenticateDaniel Stenberg2011-10-203-90/+180
| | | | | | | | The fix is pretty much the one Nick Zitzmann provided, just edited to do the right indent levels and with test case 1204 added to verify the fix. Bug: http://curl.haxx.se/mail/lib-2011-10/0190.html Reported by: Nick Zitzmann
* Curl_smtp_escape_eob: first byte is index 0...Daniel Stenberg2011-10-201-2/+2
| | | | | | Fix a bug with with commit 2621dd42a4d that happened due to my last second pre-commit cleanup of the change without proper testing afterwards!
* CURLM_CALL_MULTI_PERFORM: remove mentionDaniel Stenberg2011-10-201-8/+0
| | | | | This return code has not been used since 7.20.0 so we can stop mentioning it for current libcurl.
* Silenced a compiler warning about an unused variableDan Fandrich2011-10-191-2/+2
|
* gtls: only call gnutls_transport_set_lowat with <gnutls-2.12.0Tim Harder2011-10-201-0/+2
| | | | | | | | | The default lowat level for gnutls-2.12* is set to zero to avoid unnecessary system calls and the gnutls_transport_set_lowat function has been totally removed in >=gnutls-3 which causes build failures. Therefore, the function shouldn't be used except for versions that require it, <gnutls-2.12.0.
* Curl_smtp_escape_eob: fix EOB escapingDaniel Stenberg2011-10-201-26/+27
| | | | | | | As the EOB string can come byte by byte over a series of writes we must match byte-wise. Bug: http://curl.haxx.se/mail/lib-2011-10/0172.html
* RELEASE-NOTES: synced with ecbb08cea3cd6Daniel Stenberg2011-10-181-1/+19
|
* singleipconnect: unstick the ipv6-connection booleanDaniel Stenberg2011-10-171-5/+4
| | | | | | | | | Previously the bit was set before the connection was found working so if it would first fail to an ipv6 address and then connect fine to a IPv4 address the variable would still be TRUE. Reported by: Thomas L. Shinnick Bug: http://curl.haxx.se/bug/view.cgi?id=3421912
* nss: avoid a SIGSEGV with immature version of NSSKamil Dudka2011-10-171-1/+23
| | | | Bug: https://bugzilla.redhat.com/733685
* nss: big cleanup in nss_load_cert() and cert_stuff()Kamil Dudka2011-10-171-93/+58
|
* nss: refactor fmt_nickname() -> dup_nickname()Kamil Dudka2011-10-171-28/+14
| | | | Do not use artificial nicknames for certificates from files.
* nss: select client certificates by DERKamil Dudka2011-10-173-16/+31
| | | | ... instead of nicknames, which are not unique.
* --epsv: fix typoDaniel Stenberg2011-10-171-1/+1
| | | | Reported by: Thomas L. Shinnick
* --show-error: position indepdenentDaniel Stenberg2011-10-163-4/+10
| | | | | | | | | | | | Previously we required that -S/--show-error was used _after_ -s/--silent. This was slightly confusing since we strive to make arguments as position independent as possible. Now, you can use them in any order and the result should still be the same. Bug: http://curl.haxx.se/bug/view.cgi?id=3424286 Reported by: Andreas Olsson
* curl_multi_fdset: clarify the max_fd == -1 caseDaniel Stenberg2011-10-161-6/+7
| | | | | | | Elaborate what max_fd == -1 means Remove the reference to CURLM_CALL_MULTI_PERFORM as modern libcurl versions don't ever return that.
* formdata: ack read callback abortDaniel Stenberg2011-10-164-9/+75
| | | | | | | | | | | | | When doing a multipart formpost with a read callback, and that callback returns CURL_READFUNC_ABORT, that return code must be properly propagated back and handled accordingly. Previously it would be handled as a zero byte read which would cause a hang! Added test case 587 to verify. It uses the lib554.c source code with a small ifdef. Reported by: Anton Bychkov Bug: http://curl.haxx.se/mail/lib-2011-10/0097.html
* TODO: have form functions use CURL handle argumentDaniel Stenberg2011-10-161-0/+9
|
* typecheck: allow NULL to unset CURLOPT_ERRORBUFFERDave Reisner2011-10-151-1/+2
| | | | | | There might be situations where a user would want to unset this option. Avoid forcing him/her to cast the NULL argument to (char *) in order to get past the compile time typecheck.
* singleipconnect: don't clobber errnoDaniel Stenberg2011-10-151-3/+3
| | | | | | | | Save the errno value immediately after a connect() failure so that it won't get reset to something else before we read it. Bug: http://curl.haxx.se/mail/lib-2011-10/0066.html Reported by: Frank Van Uffelen and Fabian Hiernaux
* docs: --xattrMichal Marek2011-10-141-0/+8
|
* file.c: fix compiler warningYang Tse2011-10-141-2/+5
|
* url.c: fix endless loop upon transport connection timeoutYang Tse2011-10-141-1/+7
| | | | Jerry Wu detected and provided detailed info about this issue.
* sws.c: HTTP and GOPHER test server-side connection closing adjustmentYang Tse2011-10-141-0/+8
| | | | | | | | | | | | | | When, for a given test, server is instructed to close connection after server reply we now wait a very small amount of time (50ms) before doing so. This is done to allow client to, at least partially, read server reply before getting an ECONNRESET. The above is required to make test cases 1070, 1200, 1201 and 1202 pass with Cygwin 1.5.X on W2K. GOPHER test server closes connection after _every_ server-reply, as such, at some point it could require a bigger time or using shutdown() before a server-side initiated disconnection.
* curl_gethostname.c: fix signed/unsigned comparison and avoid a double copyYang Tse2011-10-131-22/+17
| | | | both introduced in 42be24af
* curl_ntlm_msgs.c: fix variable shadowing declaration introduced in 185ed340Yang Tse2011-10-131-2/+2
|
* tftp.c: TFTP timeout and unexpected block adjustmentsMarcin Adamski2011-10-131-12/+7
| | | | | | | | Set ACK timeout to 5 seconds. If we are waiting for block X and receive block Y that is the expected one, we should send ACK and increase X (which is already implemented). Otherwise drop the packet and don't increase retry counter.
* multi.c: OOM handling fixesYang Tse2011-10-131-61/+77
| | | | | | | | Prevent modification of easy handle being added with curl_multi_add_handle() unless this function actually suceeds. Run Curl_posttransfer() to allow restoring of SIGPIPE handler when Curl_connect() fails early in multi_runsingle().
* url.c: make line shorter than 80 charsYang Tse2011-10-131-1/+2
|
* OOM handling/cleanup slight adjustmentsYang Tse2011-10-125-32/+50
|
* OOM handling/cleanup slight adjustmentsYang Tse2011-10-117-21/+38
|
* lib540.c: OOM handling fixes making test 540 pass torture testingYang Tse2011-10-101-35/+42
|
* RELEASE-NOTES: Fixed a couple of typosDan Fandrich2011-10-081-2/+2
|
* telnet.c: fix compiler warningYang Tse2011-10-081-1/+0
|
* libcurl: some OOM handling fixesYang Tse2011-10-0713-52/+118
|
* multi.c: OOM handling fixes making torture tests 560 580 581 passYang Tse2011-10-061-2/+6
|
* test harness: non-stunnel https server integration overhaulYang Tse2011-10-068-216/+374
|
* curl tool: reviewed code moved to tool_*.[ch] filesYang Tse2011-10-0626-203/+218
|
* buildconf: warn about autoconf 2.67 and 2.68 generating bad/unusable scriptsYang Tse2011-10-061-2/+12
|
* curl tool: fix compiler warningYang Tse2011-10-051-0/+2
|
* curl tool: OOM handling fixesYang Tse2011-10-053-21/+48
|
* curl tool: reviewed code moved to tool_*.[ch] filesYang Tse2011-10-057-85/+118
|
* curl tool: OOM handling fixesYang Tse2011-10-051-1/+2
|
* curl tool: OOM handling fixesYang Tse2011-10-052-6/+15
|
* curl tool: OOM handling fixesYang Tse2011-10-056-37/+71
|
* curl tool: header inclusion adjustmentYang Tse2011-10-051-0/+4
|
* curl tool: symbol check adjustmentYang Tse2011-10-051-2/+4
|
* curl tool: header inclusion adjustmentYang Tse2011-10-052-0/+9
|