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
Daniel Stenberg
c4cdab969b
two more things for 7.19.3
2008-11-13 10:46:10 +00:00
Michal Marek
c331c73ec6
- Fixed a potential data loss in Curl_client_write() when the transfer is
...
paused.
2008-11-13 08:20:23 +00:00
Dan Fandrich
d1f063c62d
Shortened some FTP responses to allow the timeout to be reduced by a second
...
while still causing a timeout during the data phase.
2008-11-13 01:45:59 +00:00
Gunter Knauf
b686dc4911
changed to latest libidn version.
2008-11-13 01:39:10 +00:00
Gunter Knauf
78936b2f2a
changed defines to make autobuild logs display libidn usage.
2008-11-13 01:36:04 +00:00
Dan Fandrich
b2ed1e2607
Fixed an OOM problem with test 560
2008-11-12 22:26:06 +00:00
Dan Fandrich
fb8870297d
Give the test an extra second to run so it passes on slow machines
2008-11-12 01:04:27 +00:00
Daniel Stenberg
4cbc0f6c2e
- Rainer Canavan filed bug #2255627
...
(http://curl.haxx.se/bug/view.cgi?id=2255627 ) which pointed out that a
program using libcurl's multi interface to download a HTTPS page with a
libcurl built powered by OpenSSL, would easily get silly and instead hand
over SSL details as data instead of the actual HTTP headers and body. This
happened because libcurl would consider the connection handshake done too
early. This problem was introduced at September 22nd 2008 with my fix of the
bug #2107377
The correct fix is now instead done within the GnuTLS-handling code, as both
the OpenSSL and the NSS code already deal with this situation in similar
fashion. I added test case 560 in an attempt to verify this fix, but
unfortunately it didn't trigger it even before this fix!
2008-11-11 22:19:27 +00:00
Daniel Stenberg
1b9eff64fa
bump them all to 7.19.3 and remove some of the pending ones until they are
...
either sorted out or more/new details come up
2008-11-11 22:01:15 +00:00
Daniel Stenberg
d07d1a6ef8
Added test case 560:
...
This test was added after the HTTPS-using-multi-interface with OpenSSL
regression of 7.19.1 to hopefully prevent this embarassing mistake from
appearing again... Unfortunately the bug wasn't triggered by this test, which
presumably is because the connect to a local server is too fast/different
compared to the real/distant servers we saw the bug happen with.
2008-11-11 21:59:25 +00:00