Daniel Stenberg
cd6fc8a8ef
please the picky compilers by staying with short as the data we get is short
...
only
2008-11-20 07:41:26 +00:00
Daniel Stenberg
3308781376
194 - remove "Pragma: no-cache" from default HTTP requests
...
done!
2008-11-19 22:02:38 +00:00
Daniel Stenberg
40e8b4e527
- I removed the default use of "Pragma: no-cache" from libcurl when a proxy is
...
used. It has been used since forever but it was never a good idea to use
unless explicitly asked for.
2008-11-19 22:00:14 +00:00
Daniel Stenberg
4741e64c89
Josef Wolf's extension that allows a $TESTDIR/gdbinit$testnum file that when
...
you use runtests.pl -g, will be sourced by gdb to allow additional fancy
or whatever you see fit
2008-11-19 21:56:11 +00:00
Daniel Stenberg
0b489c7e61
and now it compiles too!
2008-11-19 15:31:55 +00:00
Daniel Stenberg
22d4db1cf2
I updated this example to use the modern paradigms of the socket API where
...
*_socket_all() and *_socket() aren't used at all but only *_socket_action()
is.
2008-11-19 15:30:41 +00:00
Daniel Stenberg
7383225271
- Brad Spencer brought the new function ares_gethostbyname_file() which simply
...
resolves a host name from the given file, using the regular hosts syntax.
2008-11-19 15:16:16 +00:00
Daniel Stenberg
4b3ae5e157
- Christian Krause reported and fixed a memory leak that would occur with HTTP
...
GSS/kerberos authentication (http://curl.haxx.se/bug/view.cgi?id=2284386 )
2008-11-19 14:22:01 +00:00
Daniel Stenberg
797bc8504c
- Andreas Wurf and Markus Koetter helped me analyze a problem that Andreas got
...
when uploading files to a single FTP server using multiple easy handle
handles with the multi interface. Occasionally a handle would stall in
mysterious ways.
The problem turned out to be a side-effect of the ConnectionExists()
function's eagerness to re-use a handle for HTTP pipelining so it would
select it even if already being in use, due to an inadequate check for its
chances of being used for pipelnining.
2008-11-19 10:15:19 +00:00
Yang Tse
305f4d92ef
user provided PATH_SEPARATOR always overrides auto-detected one
2008-11-19 01:57:27 +00:00
Yang Tse
c36f0e71b6
attempting to keep lines below 80 chars
2008-11-18 20:13:55 +00:00
Dan Fandrich
a028c69f48
Avoid creating garbage on an OOM error
2008-11-18 19:58:44 +00:00
Yang Tse
4e4b6de5ce
provide a common PATH_SEPARATOR check method which is required by
...
upcomming work to support the broadest range of Autoconf versions
2008-11-18 19:29:31 +00:00
Dan Fandrich
9aac2328c6
Made an array static const
2008-11-18 09:11:34 +00:00
Dan Fandrich
e5084c1eca
Added #include "rawstr.h"
2008-11-18 08:53:51 +00:00
Yang Tse
9b12f09600
check for gethostbyaddr and gethostbyname as it is done for other functions
2008-11-18 01:57:28 +00:00
Daniel Stenberg
a71762e405
curl also builds fine for microblaze uclinux
2008-11-17 21:43:39 +00:00
Daniel Stenberg
b8f3e5675a
libcurl has been built and ran on Cell OS on the Cell processor (playstation 3)
2008-11-17 21:41:03 +00:00
Dan Fandrich
820011dedc
Added more compiler warning options for gcc 4.3
2008-11-17 21:11:10 +00:00
Dan Fandrich
cdd6054e08
Display the time in verbose mode during the torture tests to help determine
...
when the tests stall.
2008-11-17 20:24:13 +00:00
Yang Tse
a15b6a6f86
the IP address we want/request/use from the interface is the 'local'
...
address, the one on the box libcurl is running, not the 'remote' one.
2008-11-17 19:08:35 +00:00
Yang Tse
20d3e2b967
fix comment
2008-11-17 14:26:22 +00:00
Yang Tse
608fdce0a0
if2ip.c related preprocessor cleanup
2008-11-17 14:24:15 +00:00
Yang Tse
ecd3251542
Make configure script check if ioctl with the SIOCGIFADDR command can be
...
used, and define HAVE_IOCTL_SIOCGIFADDR if appropriate.
2008-11-17 13:13:15 +00:00
Yang Tse
999c7126b3
fix leftover from previous commit
2008-11-17 10:05:35 +00:00
Daniel Stenberg
3c50ea961f
pipelining for PUT is a good idea
2008-11-17 09:35:10 +00:00
Dan Fandrich
acc29ff1d9
Fixed an outdated mention of having keep strings around in curl_easy_setopt
...
calls. Added a paragraph explaining that libcurl takes care of low-level
protocol details. Made a few minor edits.
2008-11-17 08:16:25 +00:00
Yang Tse
886bba55ac
update with my last changes
2008-11-17 04:11:29 +00:00
Yang Tse
cd440215a5
fix inet_pton() runtime configure check
2008-11-17 03:54:05 +00:00
Yang Tse
73060b4523
backport fix for failures to reject certain malformed literals
2008-11-17 02:40:41 +00:00
Daniel Stenberg
c76d939563
Christian Krause fixed a build failure when building with gss support
...
enabled and FTP disabled.
2008-11-16 12:42:53 +00:00
Daniel Stenberg
3c4b69f95d
fix OOM problem reported by Jim Meyering
2008-11-16 12:26:50 +00:00
Yang Tse
3f01d9a043
trim down configure script size
2008-11-16 02:23:18 +00:00
Daniel Stenberg
dbc6fe3e84
my recent changes
2008-11-15 23:47:01 +00:00
Daniel Stenberg
da6c15163b
based on a report by Jim Meyering, I went over and added checks for return
...
codes for all calls to malloc and strdup that were missing. I also changed
a few malloc(13) to use arrays on the stack and a few malloc(PATH_MAX) to
instead use aprintf() to lower memory use.
I also fixed a memory leak in Curl_nss_connect() when CURLOPT_ISSUERCERT is
in use.
2008-11-15 23:43:10 +00:00
Daniel Stenberg
9818bf7026
Fixed an OOM condition reported by Jim Meyering
2008-11-15 23:07:35 +00:00
Dan Fandrich
73c7acb159
Added some more examples of options to reduce binary size. Added x86_64 Linux
...
as a known-working environment.
2008-11-14 23:19:18 +00:00
Dan Fandrich
ea8fbb5233
Added some #ifdefs around header files and change the EAGAIN test to
...
fix compilation on Cell (reported by Jeff Curley).
2008-11-14 23:17:32 +00:00
Dan Fandrich
9b033e1b8a
Added .xml as one of the few common file extensions known by the multipart
...
form generator. Made the extensions part of the MIME type struct to reduce
the size and run-time relocations necessary to build the table.
2008-11-14 19:22:40 +00:00
Daniel Stenberg
a65ce7b107
check for NULL returns from strdup() - reported by Jim Meyering
...
also prevent buffer overflow on MSDOS when you do for example -O on a url
with a file name part longer than PATH_MAX letters
2008-11-14 16:42:05 +00:00
Daniel Stenberg
2249c12a3c
fix an OOM problem detected by Jim Meyering
2008-11-14 16:26:39 +00:00
Daniel Stenberg
b4ac9cd02c
Remove a chunk of unused code that was #ifdef'de on defines we never set.
...
We do testing of code functions using the test suite instead!
2008-11-14 16:22:18 +00:00
Yang Tse
3517eba632
fix typo affecting inclusion of <arpa/inet.h> in configure
...
checks for inet_ntoa_r() inet_ntop() and inet_pton()
2008-11-14 15:26:27 +00:00
Yang Tse
2cd44abafc
#include <string.h> in the getaddrinfo() runtime check for the memset() prototype
2008-11-14 14:47:53 +00:00
Yang Tse
4b486ebbc1
fix symbol definition check for fcntl.h inclusion
2008-11-14 05:18:08 +00:00
Yang Tse
f9f211d2c6
#include <stdlib.h> in the getifaddrs() runtime check for the exit() prototype
2008-11-14 02:51:41 +00:00
Daniel Stenberg
77b30f69e4
curl runs fine on Linux on Cell (PS3)
2008-11-13 23:19:01 +00:00
Yang Tse
17d2a464ad
Refactor configure script detection of functions used to set sockets into
...
non-blocking mode, and decouple function detection from function capability.
2008-11-13 18:56:55 +00:00
Daniel Stenberg
ae6530ee82
and we are now on the 7.19.3 road
2008-11-13 13:24:00 +00:00
Daniel Stenberg
a6ba9e5ccd
7.19.2 coming up
2008-11-13 12:42:20 +00:00