aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-08-08multi: avoid a malloc() when a transfer is completeDaniel Stenberg
The struct used for storing the message for a completed transfer is now no longer allocated separatly but is kept within the main struct kept for each easy handle so that we avoid one malloc (and the subsequent free).
2010-08-08build: libhostname linkage adjustments followupYang Tse
2010-08-07Fix to overwrite libcurl name.Guenter Knauf
2010-08-07build: chkhostname build adjustments followupYang Tse
2010-08-07build: allow NTLM tests to run on more build configurationsU-D5B1PQ1J\Administrador
2010-08-07curl_easy_setopt.3: rename stream to userdataDaniel Stenberg
In some places where the name 'stream' has been used for naming a function argument that is in fact settable with a setopt() option we now call that argument 'userdata' to make it more obvious that it is in fact possible to set by the application. Suggested by: Jeff Pohlmeyer
2010-08-07Block created curlbuild.h for NetWare to avoid usage from other platforms.Guenter Knauf
2010-08-07RELEASE-NOTES: synced with recent changesDaniel Stenberg
2010-08-06build: ensure that libhostname doesn't get installedYang Tse
2010-08-06multi_socket: set timeout for 100-continueDaniel Stenberg
When libcurl internally decided to wait for a 100-continue header, there was no call to the timeout function so there was no timeout callback called when the multi_socket API was used and thus applications became either completely wrong or at least ineffecient depending on how they handled the situation. We now set a timeout to get triggered. Reported by: Ben Darnell Bug: http://curl.haxx.se/bug/view.cgi?id=3039744
2010-08-06Some more Watcom makefile massage ...Guenter Knauf
For now removed the .autodepend directive until I've figured out which of my changes broke it again.
2010-08-05build: fix libssh2_scp_send64() availabilityYang Tse
2010-08-04build: remove unneeded cast to (void *)Yang Tse
2010-08-04build: remove unused fileYang Tse
2010-08-04SCP: send large files properly with new enough libssh2Daniel Stenberg
libssh2 1.2.6 and later handle >32bit file sizes properly even on 32bit architectures and we make sure to use that ability. Reported by: Mikael Johansson Bug: http://curl.haxx.se/mail/lib-2010-08/0052.html
2010-08-03build: add missing new files to non-configure target build filesYang Tse
2010-08-03md4: replace bcopy usage with memcpyYang Tse
2010-08-03RELEASE-NOTES: synced with recent changesDaniel Stenberg
2010-08-02TODO-RELEASE: clear, file not really used ATMDaniel Stenberg
2010-08-02typecheck-gcc: add checks for recently added optionsDaniel Stenberg
I added all OBJECTPOINT curl_easy_setopt() options from 178 to 202. Left to add: the five FUNCTIONPOINT (callbacks) options added since: SSH_KEYFUNCTION INTERLEAVEFUNCTION CHUNK_BGN_FUNCTION CHUNK_END_FUNCTION FNMATCH_FUNCTION
2010-08-02.gitignore: ignore all built examplesDaniel Stenberg
2010-08-02example: fix code to build warning-freeDaniel Stenberg
2010-08-02Curl_connected_proxy: skip the bits.tcpconnect checkDaniel Stenberg
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 4b351d018e, 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
2010-08-02sethostname: provide local prototype for gethostnameDaniel Stenberg
This is only to avoid warnings on some systems.
2010-08-02build: add typecast to avoid warningDaniel Stenberg
There is an implicit conversion from "unsigned long" to "long"; rounding, sign extension, or loss of accuracy may result.
2010-08-02Rename CURL_SOURCES macro; revert previous rename of curl_SOURCES macro.Guenter Knauf
2010-08-02Removed ugly dependency lists since wmake knows the .autodepend directive.Guenter Knauf
2010-08-02Use suffix search path for sources in lib folder.Guenter Knauf
2010-08-02Changed src/Makefile.Watcom to use CURL_SOURCES from src/Makefile.inc.Guenter Knauf
2010-08-02Renamed curl_SOURCES to CURL_ALLFILES to overcome wmake's case-insensitivity.Guenter Knauf
2010-08-02Removed wlink from DLL loader list because it doesnt work with Watcom < 1.8.Guenter Knauf
2010-08-02Moved the LDAP API defines from Makefile.Watcom to config-win32.h.Guenter Knauf
These defines are only needed for older Watcom versions (< 1280).
2010-08-02retry: consider retrying even if -f is usedDaniel Stenberg
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
2010-08-01multi: fix FTPS connecting the data connection with OpenSSLDaniel Stenberg
Commit 496002ea1cd76af7f (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
2010-08-01Fixed curlbuild.h rule.Guenter Knauf
2010-08-01Added rule to create curlbuild.h if not present (for builds from git).Guenter Knauf
2010-08-01Added dependend libs for curl static linking.Guenter Knauf
2010-07-31Fixed curl.exe static linking.Guenter Knauf
2010-07-30warning: silence a win64 compiler warningDaniel Stenberg
conversion from 'size_t' to 'curl_socklen_t', possible loss of data Reported by: Adam Light
2010-07-30KNOWN_BUG: The SOCKET type in Win64 is 64 bitsDaniel Stenberg
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.
2010-07-30smtp_connect: always provide host name bufferDaniel Stenberg
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.
2010-07-30sethostname: avoid including unistd.h to duck for warningsDaniel Stenberg
2010-07-30sethostname: ISO C does not allow extra `;' outside of a functionDaniel Stenberg
2010-07-30NTLM tests: boost coverage by forcing the hostnameKamil Dudka
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.
2010-07-29Added a comment with an alternate idea to avoid the backslash line ↵Guenter Knauf
contination character.
2010-07-29Changed comparison to match size_t var type.Guenter Knauf
2010-07-29Removed unused vars to avoid compiler warnings.Guenter Knauf
2010-07-29Make Watcom makefiles use Makefile.inc to reduce future maintainance.Guenter Knauf
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.
2010-07-29Watcom makefiles overhaul.Guenter Knauf
- 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.
2010-07-28some cosmetic changes.Guenter Knauf