- 27 Oct, 2011 5 commits
-
-
Yang Tse authored
-
Yang Tse authored
NODATACONN421: applies only to active FTP mode, instructs server to not establish data connection back to client and reply with FTP 421. NODATACONN425: applies only to active FTP mode, instructs server to not establish data connection back to client and reply with FTP 425. NODATACONN: applies to both active and passive FTP modes, instructs server to not establish nor accept a data channel and fool client into believing that the data channel connection is possible. Some polishing probably required.
-
Yang Tse authored
Fix curl_multi_cleanup() segfault when using weird cleanup sequence.
-
Daniel Stenberg authored
This extends the fix from commit d7934b8b When the multi state is changed within the multi_runsingle from DOING to DO_MORE, we didn't immediately start the FTP state machine again. That then left the FTP state in FTP_STOP. When curl_multi_fdset() was subsequently called, the ftp_domore_getsock() function would return the wrong fd info. Reported by: Gokhan Sengun
-
Daniel Stenberg authored
-
- 26 Oct, 2011 3 commits
-
-
Yang Tse authored
-
Yang Tse authored
-
Patrick Monnerat authored
-
- 25 Oct, 2011 2 commits
-
-
Daniel Stenberg authored
5 more bug fixes, 4 additional contributors
-
Yang Tse authored
When running torture tests, verify before each test case that required pingpong servers which are supposed to be alive are actually responsive. If found not responsive then restart them.
-
- 24 Oct, 2011 8 commits
-
-
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!
-
- 23 Oct, 2011 2 commits
-
-
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.
-
- 22 Oct, 2011 1 commit
-
-
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.
-
- 21 Oct, 2011 7 commits
-
-
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
-
- 20 Oct, 2011 5 commits
-
-
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
-
- 19 Oct, 2011 2 commits
-
-
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
-
- 18 Oct, 2011 1 commit
-
-
Daniel Stenberg authored
-
- 17 Oct, 2011 4 commits
-
-
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.
-