- Dec 30, 2011
-
-
Alessandro Ghedini authored
These examples show how to fetch a single message (RETR command) and how to list all the messages in a given mailbox (LIST command), with authentication via SSL. They were both based on the https.c example.
-
Yang Tse authored
-
Yang Tse authored
-
- Dec 29, 2011
-
-
Yang Tse authored
Take in account that 'pingpong' server commands may arrive splitted among several sockfilt 'DATA' PDU's.
-
- Dec 28, 2011
-
-
Yang Tse authored
Initial step in order to allow our pingpong server to better support arbitrary application data splitting among TCP packets. This first commit only addresses reasembly of data that sockfilter processes reads from soockets and pingpong server later reads from sockfilters stdout.
-
- Dec 27, 2011
-
-
Yang Tse authored
-
- Dec 26, 2011
-
-
Yang Tse authored
-
- Dec 25, 2011
-
-
Kamil Dudka authored
The commit 9dd85bce unintentionally changed the way we compute the time spent waiting for 100-continue. In particular, when using a SSL client certificate, the time spent by SSL handshake was included and could cause the CURL_TIMEOUT_EXPECT_100 timeout to be mistakenly fired up. Bug: https://bugzilla.redhat.com/767490 Reported by: Mamoru Tasaka
-
Yang Tse authored
-
Yang Tse authored
-
- Dec 23, 2011
-
-
Daniel Stenberg authored
ftp_do_more() returns after accepting the server connect however it needs to fall through and set "*complete" to TRUE before exit from the function. Bug: http://curl.haxx.se/mail/lib-2011-12/0250.html Reported by: Gokhan Sengun
-
Daniel Stenberg authored
In the recent do_more fix the new logic was mistakenly checking the pointer instead of what it points to. Reported by: Gokhan Sengun Bug: http://curl.haxx.se/mail/lib-2011-12/0250.html
-
Daniel Stenberg authored
When sending quote command to a SFTP server and 'mkdir' was used, it would send fixed permissions and not use the CURLOPT_NEW_DIRECTORY_PERMS as it should. Reported by: Armel Patch by: Armel Bug: http://curl.haxx.se/mail/lib-2011-12/0249.html
-
Yang Tse authored
-
Colin Hogben authored
The INTERNALS document suggested that compatibility should be maintained with perl version 4, but this was untrue - scripts such as chksource.pl and runtests.pl use perl5-isms.
-
Daniel Stenberg authored
CURLOPT_RESOLVE populates the DNS cache with entries that are marked as eternally in use. Those entries need to be taken care of when the cache is killed off. Bug: http://curl.haxx.se/bug/view.cgi?id=3463121 Reported by: "tw84452852"
-
Daniel Stenberg authored
Test 1317 verifies --resolve (leaked memory) Bug: http://curl.haxx.se/bug/view.cgi?id=3463121 Reported by: "tw84452852"
-
Yang Tse authored
Allow autobuilds to run a couple of days without filtering out aclocal underquoted definition warnings.
-
- Dec 21, 2011
-
-
Daniel Stenberg authored
-
Dan Fandrich authored
-
Yang Tse authored
-
Yang Tse authored
-
Daniel Stenberg authored
-
Dan Fandrich authored
-
- Dec 20, 2011
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
This function was introduced in commit 5527417a and as pointed out by Gokhan Sengun, the array with poll structs must large enough to hold 3 sockets since that is what the function can accept. It could be noted that he had this fixed in his patch as posted in http://curl.haxx.se/mail/lib-2011-12/0179.html Bug: http://curl.haxx.se/mail/lib-2011-12/0228.html Reported by: Gokhan Sengun
-
Daniel Stenberg authored
5 new bugfixes, 2 new changes and 4 new contributors
-
Daniel Stenberg authored
It is no longer done blocking in the multi interface
-
Daniel Stenberg authored
-
Daniel Stenberg authored
First off the timeout for accepting a server connect back must of course respect a global timeout. Then the timeleft function is only used by ftp code so it was moved to ftp.c and made static.
-
Daniel Stenberg authored
It did a long time ago
-
Daniel Stenberg authored
-
Daniel Stenberg authored
"wait_data_conn" was added to the connectionbits in commit c834213a for handling active FTP connections but as it is purely FTP specific and now only ever accessed by ftp.c I moved it into the FTP connection struct.
-
Daniel Stenberg authored
Backpedaled out the funny double-change of state in the multi state machine by adding a new argument to the do_more() function to signal completion. This way it can remain in the DO_MORE state properly until done. Long term, the entire DO_MORE logic should be moved into the FTP code and be hidden from the multi code as the logic is only used for FTP.
-
Gokhan Sengun authored
1- Two new error codes are introduced. CURLE_FTP_ACCEPT_FAILED to be set whenever ACCEPTing fails because of FTP server connected. CURLE_FTP_ACCEPT_TIMEOUT to be set whenever ACCEPTing timeouts. Neither of these errors are considered fatal and control connection remains OK because it could just be a firewall blocking server to connect to the client. 2- One new setopt option was introduced. CURLOPT_ACCEPTTIMEOUT_MS It sets the maximum amount of time FTP client is going to wait for a server to connect. Internal default accept timeout is 60 seconds.
-
Daniel Stenberg authored
This offers an alternative to the existing Curl_socket_ready() API which only checks one socket for read and one for write.
-
Cédric Deltheil authored
When working with the Android Standalone Toolchain the compiler defines this macro: /path/to/arm-linux-androideabi-gcc -E -dM - < /dev/null \ | grep -i android #define __ANDROID__ 1 We really need to check both ANDROID and __ANDROID__ since I've observed that: * if you use Android.mk file(s) and the 'ndk-build' script (aka vanilla way), ANDROID is predefined (see -DANDROID extra C flag), * if you use the Android Standalone Toolchain, then __ANDROID__ is predefined as stated by the compiler
-
Daniel Stenberg authored
As commit ce896875 fixed a timer that accidentally had been moved in code and then returned a bad timer, the lib500.c code (used in test 500 and some others) now verifies 5 timers against each other to verify that they have the correct relative values. We cannot compare against absolute values as the timings will vary a lot.
-
Daniel Stenberg authored
It makes it easier to introduce debug outputs in this function, and everything in the function is using the value anyway so it might even be more efficient.
-