summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* transfer: avoid unnecessary timeout event when waiting for 100-continueKamil Dudka2011-12-252-1/+3
| | | | | | | | | | The commit 9dd85bc 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
* transfer.c: move a logging statement placementYang Tse2011-12-251-2/+2
|
* hash.c: fix OOM triggered segfaultYang Tse2011-12-251-0/+3
|
* ftp_do_more: don't return success until all is doneDaniel Stenberg2011-12-241-2/+0
| | | | | | | | | 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
* Curl_do_more: fix typo logicDaniel Stenberg2011-12-241-1/+1
| | | | | | | | 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
* SFTP mkdir: use correct permissionDaniel Stenberg2011-12-241-1/+1
| | | | | | | | | | 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
* buildconf: minor tweaks commit 430527a1 follow-upYang Tse2011-12-231-0/+2
|
* Require a less ancient version of perlColin Hogben2011-12-231-1/+1
| | | | | | 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.
* resolve: don't leak pre-populated dns entriesDaniel Stenberg2011-12-233-12/+29
| | | | | | | | | 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"
* new test: verify --resolveDaniel Stenberg2011-12-232-1/+57
| | | | | | | Test 1317 verifies --resolve (leaked memory) Bug: http://curl.haxx.se/bug/view.cgi?id=3463121 Reported by: "tw84452852"
* testcurl.pl: temporary changeYang Tse2011-12-231-2/+3
| | | | | Allow autobuilds to run a couple of days without filtering out aclocal underquoted definition warnings.
* operate: removed a single trailing spaceDaniel Stenberg2011-12-211-1/+1
|
* --retry: Retry transfers on timeout and DNS errorsDan Fandrich2011-12-211-1/+4
|
* buildconf: minor tweaksYang Tse2011-12-211-60/+64
|
* formdata.c: OOM handling fixesYang Tse2011-12-211-65/+111
|
* TODO: 1.7 Happy Eyeball dual stack connectDaniel Stenberg2011-12-211-0/+14
|
* runtests.pl: Fixed perl warning when using the -l optionDan Fandrich2011-12-201-2/+2
|
* RELEASE-NOTES: added two referencesDaniel Stenberg2011-12-201-2/+4
|
* Curl_socket_check: enlarge poll struct array to 3Daniel Stenberg2011-12-201-1/+1
| | | | | | | | | | | This function was introduced in commit 5527417afae0 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
* RELEASE-NOTES: synced with 380bade777Daniel Stenberg2011-12-201-1/+14
| | | | 5 new bugfixes, 2 new changes and 4 new contributors
* TODO: remove active FTP from section 2.1Daniel Stenberg2011-12-201-1/+0
| | | | It is no longer done blocking in the multi interface
* libcurl docs: add the new FTP accept option + errorsDaniel Stenberg2011-12-202-0/+10
|
* timeleft_accept: ack global timeout, moved to ftp.cDaniel Stenberg2011-12-204-35/+42
| | | | | | 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.
* libcurl-tutorial.3: curl doesn't sent pragma no-cacheDaniel Stenberg2011-12-201-4/+0
| | | | It did a long time ago
* libcurl-multi.3: active FTP is no longer blocking!Daniel Stenberg2011-12-201-1/+0
|
* FTP: move FTP-specific struct field to ftpc_connDaniel Stenberg2011-12-203-10/+11
| | | | | | "wait_data_conn" was added to the connectionbits in commit c834213ad5 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.
* non-blocking active FTP: cleanup multi state usageDaniel Stenberg2011-12-205-40/+62
| | | | | | | | | 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.
* FTP: perform active connections non-blockingGokhan Sengun2011-12-2020-127/+361
| | | | | | | | | | | | | | | | | | | | 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.
* sockets: new Curl_socket_check() can wait for 3 socketsDaniel Stenberg2011-12-202-21/+66
| | | | | This offers an alternative to the existing Curl_socket_ready() API which only checks one socket for read and one for write.
* curl.h: add __ANDROID__ macro checkCeĢdric Deltheil2011-12-201-1/+1
| | | | | | | | | | | | | | | | | | 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
* lib500: verify timers relative each otherDaniel Stenberg2011-12-201-0/+31
| | | | | | | | As commit ce896875f8 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.
* Curl_pgrsTime: store now in an auto variableDaniel Stenberg2011-12-201-8/+9
| | | | | | 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.
* timer: restore PRETRANSFER timingDaniel Stenberg2011-12-201-1/+1
| | | | | | | | | | | 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
* libcurl.m4: Fix quoting arguments of AC_LANG_PROGRAMBernhard Reutner-Fischer2011-12-201-2/+2
| | | | | | | 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>
* gitignore: ignore the symbol versioning fileDaniel Stenberg2011-12-201-0/+1
|
* tutorial: remove CURLM_CALL_MULTI_PERFORM add sharingDaniel Stenberg2011-12-201-4/+14
| | | | | | | 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.
* configure: add symbols versioning optionAlessandro Ghedini2011-12-194-2/+74
| | | | | | | | | 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>".
* Use Curl_ssl_connect for non-blocking connect fallbackSven Wegener2011-12-191-2/+1
| | | | | | | 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>
* RELEASE-NOTES: synced with af9bc1604c1Daniel Stenberg2011-12-191-25/+53
| | | | | | | | | 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
* curl.1: minor white space cleanupDaniel Stenberg2011-12-191-6/+6
|
* docs: improve description of the --capath optionAlessandro Ghedini2011-12-191-7/+9
| | | | | | 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.
* DOCS: Added SMTP information to CURLOPT_INFILESIZESteve Holme2011-12-191-0/+3
|
* Curl_proxyCONNECT: use newlines in debug outputDaniel Stenberg2011-12-191-2/+2
|
* curl -F: fix multiple file upload with custom typeDaniel Stenberg2011-12-162-34/+22
| | | | | | | | 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
* New test for multiple file uploadColin Hogben2011-12-161-0/+83
| | | | | test 1315 checks correct behaviour when uploading multiple files. Buggy behaviour has been seen where only two attachments are sent.
* configure: libtool 1.5 tweaksYang Tse2011-12-155-28/+88
|
* Correct substitution var namesColin Hogben2011-12-151-2/+2
| | | | Two variable names were wrong in the documentation.
* Correct default upload mimetype in manualColin Hogben2011-12-151-1/+1
| | | | | The default content-type for file uploads is application/octet-stream, not text/plain as stated in the MANUAL.
* docs: fix typo in curl_easy_setopt manpageAlessandro Ghedini2011-12-151-1/+1
|
* if2ip.[ch]: fix compilation with MinGWYang Tse2011-12-132-14/+14
| | | | Avoid 'interface' literal that some MinGW versions define as a macro