- Dec 21, 2011
-
-
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.
-
Daniel Stenberg authored
Regression introduced in 7.23.0 with commit 9dd85bce. The function in which the PRETRANSFER time stamp was recorded was moved in time causing it be stored very quickly after the start timestamp. On most systems shorter than 1 millisecond and thus it wouldn't even show with -w "%{time_pretransfer}" using the command line tool. Bug: http://curl.haxx.se/mail/archive-2011-12/0022.html Reported by: Toni Moreno
-
Bernhard Reutner-Fischer authored
Parameters were underquoted, resulting in warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-
Daniel Stenberg authored
-
Daniel Stenberg authored
The CURLM_CALL_MULTI_PERFORM reference is an old leftover I had to remove. I also added some blurb to the previously blank "sharing" section.
-
- Dec 19, 2011
-
-
Alessandro Ghedini authored
Allow, at configure time, the production of versioned symbols. The symbols will look like "CURL_<FLAVOUR>_<VERSION> <SYMBOL>", where <FLAVOUR> represents the SSL flavour (e.g. OPENSSL, GNUTLS, NSS, ...), <VERSION> is the major SONAME version and <SYMBOL> is the actual symbol name. If no SSL library is enabled the symbols will be just "CURL_<VERSION> <SYMBOL>".
-
Sven Wegener authored
This gets the appconnect time right for ssl backends, which don't support non-blocking connects. Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
-
Daniel Stenberg authored
One new feature, one bug fix. Introduced references in this file for mentioned issues after this discussion: http://curl.haxx.se/mail/lib-2011-12/0187.html The plan is to let the references get moved over to the changes.html file at release-time
-
Daniel Stenberg authored
-
Alessandro Ghedini authored
Document the possibility of providing multiple values using the ":" separator, and the fact that the default value will be ignored if the option is used.
-
Steve Holme authored
-
Daniel Stenberg authored
-
- Dec 16, 2011
-
-
Daniel Stenberg authored
Test case 1315 was added to verify this functionality. When passing in multiple files to a single -F, the parser would get all confused if one of the specified files had a custom type= assigned. Reported by: Colin Hogben
-
Colin Hogben authored
test 1315 checks correct behaviour when uploading multiple files. Buggy behaviour has been seen where only two attachments are sent.
-
- Dec 15, 2011
-
-
Yang Tse authored
-
Colin Hogben authored
Two variable names were wrong in the documentation.
-
Colin Hogben authored
The default content-type for file uploads is application/octet-stream, not text/plain as stated in the MANUAL.
-
Alessandro Ghedini authored
-
- Dec 13, 2011
- Dec 12, 2011
-
-
Jason Glasgow authored
Do not try to resolve interfaces names via DNS by recognizing interface names in a few ways. If the interface option argument has a prefix of "if!" then treat the argument as only an interface. Similarly, if the interface argument is the name of an interface (even if it does not have an IP address assigned), treat it as an interface name. Finally, if the interface argument is prefixed by "host!" treat it as a hostname that must be resolved by /etc/hosts or DNS. These changes allow a client using the multi interfaces to avoid blocking on name resolution if the interface loses its IP address or disappears.
-
Daniel Stenberg authored
5 more bugfixes, 5 more contributors
-