- Oct 24, 2011
-
-
Daniel Stenberg authored
I created test 587 in commit 840eff44 but forgot to add the file to the tarball. Added now.
-
Daniel Stenberg authored
This is using the verbatim 525 test code but it disables EPRT in the server and this should work just as well anyway.
-
Daniel Stenberg authored
EPRT is now supported by default by the server. To disable it, use the generic REPLY instruction in the <servercmd> tag. Test 116 now has it disabled. All other existing active FTP port tests strip out the port commands from the logs already so the change of the server isn't that noticable.
-
Yang Tse authored
-
Yang Tse authored
-
Daniel Stenberg authored
As commit 5850cc48 clarifies, libcurl can deliver header lines that are longer than CURL_MAX_WRITE_SIZE, only body data is limited to that size. The curl tool has check (when built debug-enabled) that made the wrong checks and this new test 1205 verifies that larger headers work.
-
Daniel Stenberg authored
Mention this maximum header size for the header callback cases
-
Daniel Stenberg authored
make sure the static build uses the static build option!
-
- Oct 23, 2011
-
-
Daniel Stenberg authored
shoot, Dan Fandrich already had this pointed out...
-
Steve Holme authored
Added pop3 username and password example as well as an explanation of how path part of the URL is used under pop3. Additionally have corrected a couple of typos.
-
- Oct 22, 2011
-
-
Yang Tse authored
Move curl_easy_perform source code geneartion out of curl_easy_perform's loop for proper OOM handling and source code geneartion.
-
- Oct 21, 2011
-
-
Daniel Stenberg authored
After a PORT has been issued, and the multi handle would switch to the CURLM_STATE_DO_MORE state (which is unique for FTP), libcurl would return the wrong fdset to wait for when curl_multi_fdset() is called. The code would blindly assume that it was waiting for a connect of the second connection, while that isn't true immediately after the PORT command. Also, the function multi.c:domore_getsock() was highly FTP-centric and therefore ugly to keep in protocol-agnostic code. I solved this problem by introducing a new function pointer in the Curl_handler struct called domore_getsock() which is only called during the DOMORE state for protocols that set that pointer. The new ftp.c:ftp_domore_getsock() function now returns fdset info about the control connection's command/response handling while such a state is in use, and goes over to waiting for a writable second connection first once the commands are done. The original problem could be seen by running test 525 and checking the time stamps in the FTP server log. I can verify that this fix at least fixes this problem. Bug: http://curl.haxx.se/mail/lib-2011-10/0250.html Reported by: Gokhan Sengun
-
Dan Fandrich authored
-
Yang Tse authored
file_disconnect() free's resources for multi API
-
Yang Tse authored
-
Yang Tse authored
-
Yang Tse authored
Additionally, improved error checking and logging.
-
Dan Fandrich authored
-
- Oct 20, 2011
-
-
Daniel Stenberg authored
Multiple auths in the same WWW-Authenticate header Fixed in commit 7d81e3f7193b8c
-
Daniel Stenberg authored
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
-
Daniel Stenberg authored
Fix a bug with with commit 2621dd42 that happened due to my last second pre-commit cleanup of the change without proper testing afterwards!
-
Daniel Stenberg authored
This return code has not been used since 7.20.0 so we can stop mentioning it for current libcurl.
-
Dan Fandrich authored
-
- Oct 19, 2011
-
-
Tim Harder authored
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.
-
Daniel Stenberg authored
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
-
- Oct 18, 2011
-
-
Daniel Stenberg authored
-
- Oct 17, 2011
-
-
Daniel Stenberg authored
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
-
Kamil Dudka authored
Bug: https://bugzilla.redhat.com/733685
-
Kamil Dudka authored
-
Kamil Dudka authored
Do not use artificial nicknames for certificates from files.
-
Kamil Dudka authored
... instead of nicknames, which are not unique.
-
- Oct 16, 2011
-
-
Daniel Stenberg authored
Reported by: Thomas L. Shinnick
-
Daniel Stenberg authored
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
-
Daniel Stenberg authored
Elaborate what max_fd == -1 means Remove the reference to CURLM_CALL_MULTI_PERFORM as modern libcurl versions don't ever return that.
-
- Oct 15, 2011
-
-
Daniel Stenberg authored
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
-
Daniel Stenberg authored
-
Dave Reisner authored
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.
-
Daniel Stenberg authored
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
-
- Oct 14, 2011
-
-
Michal Marek authored
-
Yang Tse authored
-