summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* getpart.pm: Strip carriage returns to fix Windows supportMarc Hoersken2013-04-061-3/+4
|
* ftp tests: libcurl returns CURLE_FTP_ACCEPT_FAILED better nowDaniel Stenberg2013-04-062-4/+5
| | | | | | | Since commit 57aeabcc1a20f, it handles errors on the control connection while waiting for the data connection better. Test 591 and 592 are updated accordingly.
* FTP: wait on both connections during active STOR stateDaniel Stenberg2013-04-061-3/+5
| | | | | | | | | | | | | | When doing PORT and upload (STOR), this function needs to extract the file descriptor for both connections so that it will respond immediately when the server eventually connects back. This flaw caused active connections to become unnecessary slow but they would still often work due to the normal polling on a timeout. The bug also would not occur if the server connected back very fast, like when testing on local networks. Bug: http://curl.haxx.se/bug/view.cgi?id=1183 Reported by: Daniel Theron
* tftpd.c: Follow up cleanup and restore of previous sockoptMarc Hoersken2013-04-061-3/+6
|
* connect: treat an interface bindlocal() problem as a non-fatal errorKim Vandry2013-04-064-79/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I am using curl_easy_setopt(CURLOPT_INTERFACE, "if!something") to force transfers to use a particular interface but the transfer fails with CURLE_INTERFACE_FAILED, "Failed binding local connection end" if the interface I specify has no IPv6 address. The cause is as follows: The remote hostname resolves successfully and has an IPv6 address and an IPv4 address. cURL attempts to connect to the IPv6 address first. bindlocal (in lib/connect.c) fails because Curl_if2ip cannot find an IPv6 address on the interface. This is a fatal error in singleipconnect() This change will make cURL try the next IP address in the list. Also included are two changes related to IPv6 address scope: - Filter the choice of address in Curl_if2ip to only consider addresses with the same scope ID as the connection address (mismatched scope for local and remote address does not result in a working connection). - bindlocal was ignoring the scope ID of addresses returned by Curl_if2ip . Now it uses them. Bug: http://curl.haxx.se/bug/view.cgi?id=1189
* tftpd.c: Fixed sread timeout on Windows by setting it manuallyMarc Hoersken2013-04-061-0/+13
|
* ftp.pm: Added tskill to support Windows XP HomeMarc Hoersken2013-04-061-0/+2
|
* runtests.pl: Modularization of MinGW/Msys compatibility functionsMarc Hoersken2013-04-062-70/+91
|
* ftp.pm: Made Perl testsuite able to handle Windows processesMarc Hoersken2013-04-061-0/+22
|
* util.c: Revert workaround eeefcdf, 6eb56e7 and e3787e8Marc Hoersken2013-04-061-56/+0
|
* ftp.pm: Made Perl testsuite able to kill Windows processesMarc Hoersken2013-04-061-0/+27
|
* util.c: Follow up cleanup on eeefcdfMarc Hoersken2013-04-061-7/+7
|
* cpp: use #ifdef __MINGW32__ to avoid compiler complaintsDaniel Stenberg2013-04-061-1/+1
| | | | ... instead of just #if
* util.c: Made write_pidfile write the correct PID on MinGW/MsysMarc Hoersken2013-04-061-0/+56
| | | | | | | | | | This workaround fixes an issue on MinGW/Msys regarding the Perl testsuite scripts not being able to signal or control the server processes. The MinGW Perl runtime only sees the Msys processes and their corresponding PIDs, but sockfilt (and other servers) wrote the Windows PID into their PID-files. Since this PID is useless to the testsuite, the write_pidfile function was changed to search for the Msys PID and write that into the PID-file.
* RELEASE-NOTES: synced with 5e722b2d09087Daniel Stenberg2013-04-051-1/+7
| | | | 3 more bug fixes, 6 more contributors
* sockfilt.c: Fixed handling of multiple fds being signaledMarc Hoersken2013-04-051-2/+2
|
* curl_global_init.3: improve description of CURL_GLOBAL_ALLKamil Dudka2013-04-051-1/+2
| | | | Reported by: Tomas Mlcoch
* examples/multi-single.c: fix the order of destructionsKamil Dudka2013-04-051-1/+7
| | | | | | ... so that it adheres to the API documentation. Reported by: Tomas Mlcoch
* Curl_open: restore default MAXCONNECTS to 5Daniel Stenberg2013-04-052-4/+3
| | | | | | | At some point recently we lost the default value for the easy handle's connection cache, and this change puts it back to 5 - which is the former default value and it is documented in the curl_easy_setopt.3 man page.
* sockfilt.c: Added wrapper functions to fix Windows console issuesMarc Hoersken2013-04-041-2/+69
| | | | | | The new read and write wrapper functions support reading from stdin and writing to stdout/stderr on Windows by using the appropriate Windows API functions and data types.
* lib1509.c: fix compiler warningsYang Tse2013-04-041-11/+26
|
* easy.c: fix compiler warningYang Tse2013-04-041-1/+2
|
* --engine: spellfix the help messageDaniel Stenberg2013-04-041-2/+2
| | | | Reported by: Fredrik Thulin
* http_negotiate.c: follow-up for commit 3dcc1a9cYang Tse2013-04-041-2/+4
|
* easy: Fix the broken CURLOPT_MAXCONNECTS optionLinus Nielsen Feltzing2013-04-045-2/+195
| | | | | | | | Copy the CURLOPT_MAXCONNECTS option to CURLMOPT_MAXCONNECTS in curl_easy_perform(). Bug: http://curl.haxx.se/bug/view.cgi?id=1212 Reported-by: Steven Gu
* Updated copyright date.Guenter Knauf2013-04-041-1/+1
|
* Another small output fix for --help and --version.Guenter Knauf2013-04-041-1/+1
|
* http_negotiate.c: fix several SPNEGO memory handling issuesYang Tse2013-04-041-68/+81
|
* Added a cont to specify base64 line wrap.Guenter Knauf2013-04-041-4/+6
|
* Fixed version output.Guenter Knauf2013-04-041-1/+1
|
* Added support for --help and --version options.Guenter Knauf2013-04-041-1/+8
|
* Added option to specify length of base64 output.Guenter Knauf2013-04-041-5/+10
| | | | Based on a patch posted to the list by Richard Michael.
* curl_easy_setopt.3: CURLOPT_HTTPGET disables CURLOPT_UPLOADDaniel Stenberg2013-04-031-1/+1
|
* Curl_cookie_add: only increase numcookies for new cookiesYasuharu Yamada2013-04-021-1/+1
| | | | Count up numcookies in Curl_cookie_add() only when cookie is new one
* SO_SNDBUF: don't set SNDBUF for win32 versions vista or laterDaniel Stenberg2013-04-021-0/+22
| | | | | | | | | | | | | | | | | The Microsoft knowledge-base article http://support.microsoft.com/kb/823764 describes how to use SNDBUF to overcome a performance shortcoming in winsock, but it doesn't apply to Windows Vista and later versions. If the described SNDBUF magic is applied when running on those more recent Windows versions, it seems to instead have the reversed effect in many cases and thus make libcurl perform less good on those systems. This fix thus adds a run-time version-check that does the SNDBUF magic conditionally depending if it is deemed necessary or not. Bug: http://curl.haxx.se/bug/view.cgi?id=1188 Reported by: Andrew Kurushin Tested by: Christian Hägele
* darwinssl: additional descriptive messages of SSL handshake errorsNick Zitzmann2013-04-011-1/+13
| | | | (This doesn't need to appear in the release notes.)
* Added dns and connect time to output.Guenter Knauf2013-04-011-1/+15
|
* RELEASE-NOTES: synced with 0614b902136Daniel Stenberg2013-04-011-2/+9
|
* code-policedDaniel Stenberg2013-04-011-2/+2
|
* tcpkeepalive: support TCP_KEEPIDLE/TCP_KEEPINTVL on win32Daniel Stenberg2013-03-311-2/+29
| | | | | Patch by: Robert Wruck Bug: http://curl.haxx.se/bug/view.cgi?id=1209
* BINDINGS: BBHTTP is a cocoa binding, Julia has a bindingDaniel Stenberg2013-03-301-1/+10
|
* ftp_sendquote: use PPSENDF, not FTPSENDFDaniel Stenberg2013-03-291-3/+1
| | | | | | | | | | | The last remaining code piece that still used FTPSENDF now uses PPSENDF. In the problematic case, a PREQUOTE series was done on a re-used connection when Curl_pp_init() hadn't been called so it had messed up pointers. The init call is done properly from Curl_pp_sendf() so this change fixes this particular crash. Bug: http://curl.haxx.se/mail/lib-2013-03/0319.html Reported by: Sam Deane
* RELEASE-NOTES: Corrected typoSteve Holme2013-03-271-1/+1
|
* multi-uv.c: remove unused variableClemens Gruber2013-03-271-2/+1
|
* RELEASE-NOTES: add two referencesDaniel Stenberg2013-03-271-2/+5
|
* test1509: verify proxy header response headers countDaniel Stenberg2013-03-2730-256/+488
| | | | | | | | | | | | | Modified sws to support and use custom CONNECT responses instead of the previously naive hard-coded version. Made the HTTP test server able to extract test case number from the host name in a CONNECT request by finding the number after the last dot. It makes 'machine.moo.123' use test case 123. Adapted a larger amount of tests to the new <connect> style. Bug: http://curl.haxx.se/bug/view.cgi?id=1204 Reported by: Martin Jansen
* Added libuv example multi-uv.cClemens Gruber2013-03-273-1/+216
|
* NTLM: fix several NTLM code paths memory leaksYang Tse2013-03-253-13/+16
|
* WIN32 MemoryTracking: track wcsdup() _wcsdup() and _tcsdup() usageYang Tse2013-03-257-3/+94
| | | | | | | | | | | | | | | | | As of 25-mar-2013 wcsdup() _wcsdup() and _tcsdup() are only used in WIN32 specific code, so tracking of these has not been extended for other build targets. Without this fix, memory tracking system on WIN32 builds, when using these functions, would provide misleading results. In order to properly extend this support for all targets curl.h would have to define curl_wcsdup_callback prototype and consequently wchar_t should be visible before that in curl.h. IOW curl_wchar_t defined in curlbuild.h and this pulling whatever system header is required to get wchar_t definition. Additionally a new curl_global_init_mem() function that also receives user defined wcsdup() callback would be required.
* curl_ntlm_msgs.c: revert commit 463082bea4Yang Tse2013-03-251-1/+0
| | | | reverts unreleased invalid memory leak fix