aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2008-07-27setup.h handles definition of _REENTRANT based on NEED_REENTRANTYang Tse
definition which might be defined in config.h or config-*.h files
2008-07-27Eliminate a unnecessary socket creation in Curl_getaddrinfo for an IPv4Dan Fandrich
address in an IPv6 capable libcurl.
2008-07-26- David Bau filed bug report #2026240 "CURL_READFUNC_PAUSE leads to bufferDaniel Stenberg
overrun" (http://curl.haxx.se/bug/view.cgi?id=2026240) identifying two problems, and providing the fix for them: - CURL_READFUNC_PAUSE did in fact not pause the _sending_ of data that it is designed for but paused _receiving_ of data! - libcurl didn't internally set the read counter to zero when this return code was detected, which would potentially lead to junk getting sent to the server.
2008-07-24ignore curllib.vcprojYang Tse
2008-07-22minor reordering in OS/400 config/setup filesYang Tse
2008-07-21Change recvfrom's sixth argument data type to the 'historically standard' 'int'Yang Tse
data type for systems where this sixth argument is prototyped as a void pointer. Start of thread: http://curl.haxx.se/mail/lib-2008-07/0153.html
2008-07-21Undefine 'byte' due to dict.c.Gisle Vanem
2008-07-21fix compiler warning: comparison between signed and unsignedYang Tse
2008-07-21Adjust recvfrom's sixth arg data type definition for NetWare (LIBC)Yang Tse
2008-07-21Use the sreadfrom() wrapper to replace recvfrom() in our code.Yang Tse
2008-07-21when recvfrom prototype uses a void pointer for arguments 2, 5 or 6 this willYang Tse
now cause the definition of RECVFROM_TYPE_ARG2_IS_VOID, RECVFROM_TYPE_ARG5_IS_VOID or RECVFROM_TYPE_ARG6_IS_VOID, as appropriate.
2008-07-17RECVFROM_TYPE_ARG2, RECVFROM_TYPE_ARG5 and RECVFROM_TYPE_ARG6 are now definedYang Tse
to the data type pointed by its respective argument and not the pointer type.
2008-07-16fix commentYang Tse
2008-07-16Configure process now checks availability of recvfrom() socket function andYang Tse
finds out its return type and the types of its arguments. Added definitions for non-configure systems config files, and introduced macro sreadfrom which will be used on udp sockets as a recvfrom() wrapper.
2008-07-15add comment for include pathsYang Tse
2008-07-14Move _REENTRANT definition earlier in lib/setup.hYang Tse
2008-07-14Removed inclusion of remaining system header files from configuration files.Yang Tse
These are included from lib/setup.h or specific source code file.
2008-07-14Inclusion of <extra/stricmp.h> and <extra/strdup.h> is moved to lib/setup.hYang Tse
2008-07-14Remove duplicate file inclusions. These are already done in lib/setup.hYang Tse
and lib/setup_once.h
2008-07-14Remove duplicate file inclusions. These are already done in lib/setup.hYang Tse
2008-07-14HTTP_ONLY definition check in lib/setup.h is now done once that configurationYang Tse
file has been included. In this way if symbol is defined in the config file it will no longer be ignored.
2008-07-11fix multiple header inclusion prevention definitionYang Tse
2008-07-11move multiple header inclusion prevention definition to top of fileYang Tse
2008-07-11Added missing multiple header inclusion prevention definitionYang Tse
2008-07-11indent and comment cleanup (no code change)Daniel Stenberg
2008-07-11- Daniel Fandrich found out we didn't pass on the user-agent properly whenDaniel Stenberg
doing "proxy-tunnels" with non-HTTP prototols and that was simply because the code assumed the user-agent was only needed for HTTP.
2008-07-11Changed slightly the SFTP quote commands chmod, chown and chgrp to onlyDan Fandrich
set the attribute that has changed instead of all possible ones. Hopefully, this will solve the "Permission denied" problem that Nagarajan Sreenivasan reported when setting some modes, but regardless, it saves a protocol round trip in the chmod case.
2008-07-10Fixed another OOM problem, this time with test 64.Dan Fandrich
2008-07-10Peter Lamberg filed bug report #2015126: "poll gives WSAEINVAL when POLLPRIYang Tse
is set in fdset.events" (http://curl.haxx.se/bug/view.cgi?id=2015126) which exactly pinpointed the problem only triggered on Windows Vista, provided reference to docs and also a fix. There is much work behind Peter Lamberg's excellent bug report. Thank You!
2008-07-09- Andreas Schuldei improved Phil Blundell's patch for IPv6 using c-ares, and IDaniel Stenberg
edited it slightly. Now you should be able to use IPv6 addresses fine even with libcurl built to use c-ares.
2008-07-09Fixed an OOM handling problem that cause test 11 to fail the torture test.Dan Fandrich
2008-07-08Fixed test 554 to pass the torture test.Dan Fandrich
2008-07-07- Scott Barrett provided a test case for a segfault in the FTP code and theDaniel Stenberg
fix for it. It occured when you did a FTP transfer using CURLFTPMETHOD_SINGLECWD and then did another one on the same easy handle but switched to CURLFTPMETHOD_NOCWD. Due to the "dir depth" variable not being cleared properly. Scott's test case is now known as test 539 and it verifies the fix.
2008-07-07New options added to OS400 wrapper and ILERPG definitions.Patrick Monnerat
Wrong defines (typos) for QSSL layer fixed.
2008-07-05fix compiler warning: empty body in an if-statementYang Tse
2008-07-03Phil Blundell provided a fix for libcurl's treatment of unexpected 1xxDaniel Stenberg
response codes. Previously libcurl would hang on such occurances. I added test case 1033 to verify.
2008-07-03Introcuding a new timestamp for curl_easy_getinfo():Daniel Stenberg
CURLINFO_APPCONNECT_TIME. This is set with the "application layer" handshake/connection is completed (typically SSL, TLS or SSH). By using this you can figure out the application layer's own connect time. You can extract the time stamp using curl's -w option and the new variable named 'time_appconnect'. This feature was sponsored by Lenny Rachitsky at NeuStar.
2008-07-02Support Open Watcom C on Linux (as well as Windows).Dan Fandrich
2008-07-02fallback to gettimeofday when monotonic clock is unavailable at run-timeYang Tse
2008-07-01CreateConnection collided with a function using the exact same name in theDaniel Stenberg
INTEGRITY RTOS, so I renamed it to create_conn. It then made sense to also rename SetupConnection to setup_conn to match it.
2008-06-30- Stephen Collyer and Tor Arntsen helped identify a flaw in the range codeDaniel Stenberg
which output the range using a signed variable where it should rather use unsigned.
2008-06-30made %llu work for printing unsigned long longs, added the generic curl sourceDaniel Stenberg
header
2008-06-24Added README.NSS to describe the current NSS situation.Daniel Stenberg
2008-06-22- Eduard Bloch filed the debian bug report #487567Daniel Stenberg
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487567) pointing out that libcurl used Content-Range: instead of Range when doing a range request with --head (CURLOPT_NOBODY). This is now fixed and test case 1032 was added to verify.
2008-06-22Stopped using ranges in scanf character sequences (e.g. %[a-z]) since thatDan Fandrich
is not ANSI C, just a common extension. This caused problems on at least Open Watcom C.
2008-06-21Oops, that was an experimental change not meant to be committed!Daniel Stenberg
2008-06-21made Curl_nss_send() take const data to kill compiler warningDaniel Stenberg
2008-06-20- Phil Pellouchoud found a case where libcurl built with NSS failed toDaniel Stenberg
handshake with a SSLv2 server, and it turned out to be because it didn't recognize the cipher named "rc4-md5". In our list that cipher was named plainly "rc4". I've now added rc4-md5 to work as an alias as Phil reported that it made things work for him again.
2008-06-20remove leftover proto that isn't used, I made it a macro insteadDaniel Stenberg
2008-06-20- Hans-Jurgen May pointed out that trying SCP or SFTP over a SOCKS proxyDaniel Stenberg
crashed libcurl. This is now addressed by making sure we use "plain send" internally when doing the socks handshake instead of the Curl_write() function which is designed to use the "target" protocol. That's then SCP or SFTP in this case. I also took the opportunity and cleaned up some ssh- related #ifdefs in the code for readability.