aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-01-02runtests.pl: on test failure, don't show trace log files of other testsYang Tse
2012-01-01Curl_input_negotiate: use the correct buffer for inputDaniel Stenberg
Unfortunately we have no test cases for this and I have no SSPI build or server to verify this with. The change seems simple enough though. Bug: http://curl.haxx.se/bug/view.cgi?id=3466497 Reported by: Patrice Guerin
2012-01-01runtests: put trace outputs in log/trace[num] for all testsDaniel Stenberg
2011-12-31just a stupid typoDaniel Stenberg
2011-12-31SFTP dir: increase buffer size counterDaniel Stenberg
When the buffer gets realloced to hold the file name in the SSH_SFTP_READDIR_LINK state, the counter was not bumped accordingly. Reported by: Armel Asselin Patch by: Armel Asselin Bug: http://curl.haxx.se/mail/lib-2011-12/0249.html
2011-12-31RELEASE-NOTES: synced with 81ebdd9e287Daniel Stenberg
6 more bugfixes, 3 more contributors
2011-12-31create_hostcache_id: use the key lower casedDaniel Stenberg
... to make sure the DNS cache is properly case insensitive
2011-12-31changed case: use new host name for subsequent HTTP requestsDaniel Stenberg
When a HTTP connection is re-used for a subsequent request without proxy, it would always re-use the Host: header of the first request. As host names are case insensitive it would make curl send another host name case that what the particular request used. Now it will instead always use the most recent host name to always use the desired casing. Added test case 1318 to verify. Bug: http://curl.haxx.se/mail/lib-2011-12/0314.html Reported by: Alex Vinnik
2011-12-31CURLOPT_RESOLVE: avoid adding already present host namesDaniel Stenberg
The load host names to DNS cache function was moved to hostip.c and it now makes sure to not add host names that already are present in the cache. It would previously lead to memory leaks when for example using the --resolve and multiple URLs on the command line.
2011-12-31runtests.pl: Use logmsg more consistentlyDan Fandrich
2011-12-30examples: update README, Makefile.inc and gitignore with pop3s examplesAlessandro Ghedini
2011-12-30examples: add a couple of simple pop3s examplesAlessandro Ghedini
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.
2011-12-30removed execute file permissionYang Tse
2011-12-30removed trailing whitespaceYang Tse
2011-12-29ftpserver.pl: arbitrary application data splitting among TCP packets [II]Yang Tse
Take in account that 'pingpong' server commands may arrive splitted among several sockfilt 'DATA' PDU's.
2011-12-28ftpserver.pl: arbitrary application data splitting among TCP packets [I]Yang Tse
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.
2011-12-27testcurl.pl: 82c344a3 follow-upYang Tse
2011-12-26testcurl.pl: log ACLOCAL_FLAGSYang Tse
2011-12-26testcurl.pl: third party m4 warnings filtering adjustmentYang Tse
Make testcurl.pl ignore messages pertaining to third party m4 files we don't care nor use on a file basis policy while retaining all other warnings. This closes temporary commit e71e226f
2011-12-25transfer: avoid unnecessary timeout event when waiting for 100-continueKamil Dudka
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
2011-12-25transfer.c: move a logging statement placementYang Tse
2011-12-25hash.c: fix OOM triggered segfaultYang Tse
2011-12-24ftp_do_more: don't return success until all is doneDaniel Stenberg
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
2011-12-24Curl_do_more: fix typo logicDaniel Stenberg
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
2011-12-24SFTP mkdir: use correct permissionDaniel Stenberg
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
2011-12-23buildconf: minor tweaks commit 430527a1 follow-upYang Tse
2011-12-23Require a less ancient version of perlColin Hogben
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.
2011-12-23resolve: don't leak pre-populated dns entriesDaniel Stenberg
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"
2011-12-23new test: verify --resolveDaniel Stenberg
Test 1317 verifies --resolve (leaked memory) Bug: http://curl.haxx.se/bug/view.cgi?id=3463121 Reported by: "tw84452852"
2011-12-23testcurl.pl: temporary changeYang Tse
Allow autobuilds to run a couple of days without filtering out aclocal underquoted definition warnings.
2011-12-21operate: removed a single trailing spaceDaniel Stenberg
2011-12-21--retry: Retry transfers on timeout and DNS errorsDan Fandrich
2011-12-21buildconf: minor tweaksYang Tse
2011-12-21formdata.c: OOM handling fixesYang Tse
2011-12-21TODO: 1.7 Happy Eyeball dual stack connectDaniel Stenberg
2011-12-20runtests.pl: Fixed perl warning when using the -l optionDan Fandrich
2011-12-20RELEASE-NOTES: added two referencesDaniel Stenberg
2011-12-20Curl_socket_check: enlarge poll struct array to 3Daniel Stenberg
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
2011-12-20RELEASE-NOTES: synced with 380bade777Daniel Stenberg
5 new bugfixes, 2 new changes and 4 new contributors
2011-12-20TODO: remove active FTP from section 2.1Daniel Stenberg
It is no longer done blocking in the multi interface
2011-12-20libcurl docs: add the new FTP accept option + errorsDaniel Stenberg
2011-12-20timeleft_accept: ack global timeout, moved to ftp.cDaniel Stenberg
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.
2011-12-20libcurl-tutorial.3: curl doesn't sent pragma no-cacheDaniel Stenberg
It did a long time ago
2011-12-20libcurl-multi.3: active FTP is no longer blocking!Daniel Stenberg
2011-12-20FTP: move FTP-specific struct field to ftpc_connDaniel Stenberg
"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.
2011-12-20non-blocking active FTP: cleanup multi state usageDaniel Stenberg
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.
2011-12-20FTP: perform active connections non-blockingGokhan Sengun
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.
2011-12-20sockets: new Curl_socket_check() can wait for 3 socketsDaniel Stenberg
This offers an alternative to the existing Curl_socket_ready() API which only checks one socket for read and one for write.
2011-12-20curl.h: add __ANDROID__ macro checkCeĢdric Deltheil
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
2011-12-20lib500: verify timers relative each otherDaniel Stenberg
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.