- Aug 02, 2010
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
Simply because the TCP might be connected already we cannot skip the proxy connect procedure. We need to be careful to not overload more meaning to the bits.tcpconnect field like this. With this fix, SOCKS proxies work again when the multi interface is used. I believe this regression was added with commit 4b351d01, released as 7.20.1. Left todo: add a test case that verifies this functionality that prevents us from breaking it again in the future! Reported by: Robin Cornelius Bug: http://curl.haxx.se/bug/view.cgi?id=3033966
-
Daniel Stenberg authored
This is only to avoid warnings on some systems.
-
Daniel Stenberg authored
There is an implicit conversion from "unsigned long" to "long"; rounding, sign extension, or loss of accuracy may result.
-
Guenter Knauf authored
-
Guenter Knauf authored
-
Guenter Knauf authored
-
Guenter Knauf authored
-
- Aug 01, 2010
-
-
Guenter Knauf authored
-
Guenter Knauf authored
-
Guenter Knauf authored
These defines are only needed for older Watcom versions (< 1280).
-
Daniel Stenberg authored
The --retry logic does retry HTTP when some specific response codes are returned, but because the -f option sets the CURLOPT_FAILONERROR to libcurl, the return codes are different for such situations and then the curl tool failed to consider it for retrying. Reported by: Mike Power Bug: http://curl.haxx.se/bug/view.cgi?id=3037362
-
Daniel Stenberg authored
Commit 496002ea (released in 7.20.1) broke FTPS when using the multi interface and OpenSSL was used. The condition for the non-blocking connect was incorrect. Reported by: Georg Lippitsch Bug: http://curl.haxx.se/mail/lib-2010-07/0270.html
-
Guenter Knauf authored
-
Guenter Knauf authored
-
- Jul 31, 2010
-
-
Guenter Knauf authored
-
Guenter Knauf authored
-
- Jul 30, 2010
-
-
Daniel Stenberg authored
conversion from 'size_t' to 'curl_socklen_t', possible loss of data Reported by: Adam Light
-
Daniel Stenberg authored
The SOCKET type in Win64 is 64 bits large (and thus so is curl_socket_t on that platform), and long is only 32 bits. It makes it impossible for curl_easy_getinfo() to return a socket properly with the CURLINFO_LASTSOCKET option as for all other operating systems.
-
Daniel Stenberg authored
Previously the host name buffer was only used if gethostname() exists, but since we converted that into a curl private function that function always exists and will be used so the buffer needs to exist for all cases/systems.
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
- Jul 29, 2010
-
-
Kamil Dudka authored
A shared library tests/libtest/.libs/lihostname.so is preloaded in NTLM test-cases to override the system implementation of gethostname(). It makes it possible to test the NTLM authentication for exact match, and this way test the implementation of MD4 and DES. If LD_PRELOAD doesn't work, a debug build willl also workk as debug builds are now made to prefer a specific environment variable and will then return that content as host name instead of the actual one. Kamil wrote the bulk of this, Daniel Stenberg polished it.
-
Guenter Knauf authored
-
Guenter Knauf authored
-
Guenter Knauf authored
-
Guenter Knauf authored
lib/Makefile.Watcom works fine already, for src/Makefile.Watcom we need first to tweak src/Makefile.inc a bit - therefore the handtweaked list still exists for now.
-
Guenter Knauf authored
- make both libcurl and curl makefiles use register calling convention (previously libcurl had stack calling convention). - added include paths to the Watcom headers so its no longer required to set the environment vars for this. - added -wcd=201 to supress compiler warning about unreachable code. - use macros for all tools, and removed dependency on GNU tools like rm. - make ipv6 and debug builds controlable via env vars and so make them optional instead of default. - commented WINLDAPAPI and WINBERAPI since they broke with OW 1.8, and it seems they're not needed (anymore?). - added rule for hugehelp.c.cvs so that it will be created when not already exist - this is required for building from a release tarball since there we have no hugehelp.c.cvs, thus compilation broke. - removed C_ARG creation from lib/Makefile.Watcom and use CFLAGS directly as done too in src/Makefile.Watcom - this has the benefit that we will see all active cflags and defines during compile. - added LINK-ARG to src/Makefile.Watcom in order to better control linker input. - a couple of other minor makefile tweaks here and there ... - added largefile support for Watcom builds to config-win32.h. Not yet tested if it really works, but should since Win32 supports it. - added loaddll stuff to speed up builds if supported.
-
- Jul 28, 2010
-
-
Guenter Knauf authored
-
- Jul 26, 2010
-
-
Dan Fandrich authored
-
Dan Fandrich authored
-
- Jul 25, 2010
-
-
Daniel Stenberg authored
The curl-config now features a --built-shared command line option that will output 'yes' or 'no' depending if the build process was asked to build shared library/libraries or not. It is primarily made to offer more details to the test suite to know what kind of stunts it can expect to work.
-
- Jul 24, 2010
-
-
Daniel Stenberg authored
Win64's 32 bit long but 64 bit size_t caused a warning that we avoid with a typecast. A small whitespace indent fix was also applied. Reported by: Adam Light
-
- Jul 22, 2010
-
-
Guenter Knauf authored
-
Guenter Knauf authored
-
- Jul 21, 2010
-
-
Dan Fandrich authored
This one was long overdue to be mentioned in the FAQ. Also, mention the new ftp wildcard downloading feature.
-
Ben Greear authored
Signed-off-by: Ben Greear <greearb@candelatech.com>
-
Ben Greear authored
This passes -Werror to gcc when building curl and libcurl, allowing easy dection of compile warnings. Signed-off-by: Ben Greear <greearb@candelatech.com>
-
Ben Greear authored
Signed-off-by: Ben Greear <greearb@candelatech.com>
-
- Jul 18, 2010
-
-
Jan Van Boghout authored
... since FTP is using it as well, and potentially other protocols! Also, an #endif CURL_DISABLE_HTTP was incorrectly marked, as it seems to end the proxy block instead.
-