Daniel Stenberg
03c22b4576
Now supports "Transfer-Encoding: chunked" for HTTP PUT operations where the
...
size of the uploaded file is unknown.
2002-11-11 08:40:37 +00:00
Daniel Stenberg
ef749fa9ce
Bug report #634625 identified how curl returned timeout immediately when
...
CURLOPT_CONNECTTIMEOUT was used and provided a fix.
2002-11-07 08:45:10 +00:00
Daniel Stenberg
cbf28daed9
Lehel Bernadt's fix to prevent debug message to get sent on errors when
...
debug wasn't enabled
2002-11-05 11:11:10 +00:00
Daniel Stenberg
0ff1ca30c3
ipv4-fixes for the new Curl_dns_entry struct and Curl_resolv() proto
2002-11-05 11:07:49 +00:00
Daniel Stenberg
2cff251863
Curl_resolv() now returns a different struct, and it contains a reference
...
counter so that the caller needs to decrease that counter when done with
the returned data.
If compiled with MALLOCDEBUG I've added some extra checking that the counter
is decreased before a handle is closed etc.
2002-11-05 10:51:41 +00:00
Daniel Stenberg
5bc78cb724
Disable the DNS cache (by setting the timeout to 0) made libcurl leak
...
memory. Avery Fay brought the example code that proved this.
2002-10-31 13:09:11 +00:00
Daniel Stenberg
cdba92ac3c
when using checkprefix(), the first argument must be the prefix!
2002-10-28 22:19:23 +00:00
Daniel Stenberg
6d28f92ffe
Transfer-Encoding: needs 17 bytes passed, not 18
2002-10-28 21:52:27 +00:00
Daniel Stenberg
01387f42c5
kromJx@crosswinds.net's fix that now uses checkprefix() instead of
...
strnequal() when the third argument was strlen(first argument) anyway.
This makes it less prone to errors. (Slightly edited by me)
2002-10-28 21:52:00 +00:00
Daniel Stenberg
8f52b731f4
the malloc debug system assumes single thread
2002-10-28 21:05:14 +00:00
Daniel Stenberg
01bdfa7b6d
Kevin Roth's fixes that use $(RM) instead of @erase and modified SSL version
2002-10-28 19:38:46 +00:00
Daniel Stenberg
6a88c8d845
prevent compiler warning
2002-10-28 19:21:30 +00:00
Daniel Stenberg
b8a6913e09
prevent compiler warnings
2002-10-28 19:20:59 +00:00
Daniel Stenberg
b5a74715cf
bad headers can come in two kinds, we either treat everything as one big
...
badly assumed header, or we think that parts of the buffer is a bad header
and the rest is treated as a normal body part
2002-10-23 13:48:37 +00:00
Daniel Stenberg
32c03eadd6
glibc 2.2.93 gethostbyname_r() no longer returns ERANGE if the given buffer
...
size isn't big enough. For some reason they now return EAGAIN.
Redhat 8 ships with this glibc version.
2002-10-21 13:20:30 +00:00
Daniel Stenberg
0fa512f26d
Nikita Schmidt's fix to debian bug report #165382 . This is verified with
...
the new test case 55.
2002-10-21 12:07:02 +00:00
Daniel Stenberg
ecf3aee43a
check for cygwin and if built on that, enable the no-undefined option for
...
libtool. Otherwise disable it.
2002-10-21 06:49:42 +00:00
Daniel Stenberg
9e612b5550
make very sure that we return 'done' properly when a transfer is done, as
...
otherwise the multi interface gets problems
2002-10-18 15:28:33 +00:00
Daniel Stenberg
203633d34d
return call_multi when we follow a location
2002-10-18 15:27:49 +00:00
Daniel Stenberg
45bd009bb1
if we found no string on the Location: line, don't try to follow it
2002-10-18 13:51:00 +00:00
Daniel Stenberg
156aad198f
Make the COOKIESESSION work better by creating a list of cookie files files
...
when given in the curl_easy_setopt() and then parse them all on the first
curl_easy_perform() call instead.
2002-10-17 07:10:39 +00:00
Daniel Stenberg
fc4d1d9a60
my first take at a memory leak detection document
2002-10-13 10:34:33 +00:00
Daniel Stenberg
b5bbc04ad1
return error properly when a non-blocking connect fails using the multi
...
interface
2002-10-12 11:18:08 +00:00
Daniel Stenberg
265c58611f
When we receive a "bad header" we must sure not to write down the data part
...
as well, as then we write the same data twice.
2002-10-11 20:55:08 +00:00
Daniel Stenberg
701509d322
Jeff Lawson fixed a few problems with connection re-use that remained when
...
you set CURLOPT_PROXY to "".
2002-10-10 08:00:49 +00:00
Daniel Stenberg
c3cc616264
Junk data could get inserted when saving/getting HTTP headers, as discovered
...
by Craig Davison. Now we deal with the 'nread' variable correctly between
each header line.
2002-10-09 13:03:51 +00:00
Daniel Stenberg
91b84b89e4
failf() now sends the text to the debug function callback
2002-10-08 16:10:37 +00:00
Daniel Stenberg
512db1bc54
Added timeout support for the non-windows version.
2002-10-08 13:03:26 +00:00
Daniel Stenberg
9b296e65bd
Following locations properly, if told to do so.
2002-10-07 13:38:59 +00:00
Daniel Stenberg
5f649a1649
Move the URL concat code to Curl_follow(), and added a proto for that
...
function. For Location: following.
2002-10-07 13:38:34 +00:00
Daniel Stenberg
daea056210
Kevin Roth pointed out that 'make install' failed if built outside the
...
sourcedir if we're not using $(srcdir) properly.
2002-10-07 09:04:50 +00:00
Daniel Stenberg
cfa0054077
The -no-undefined flag is CRUCIAL for this to build fine on Cygwin. If we
...
find a case in which we need to remove this flag, we should most likely
write a configure check that detects when this flag is needed and when its
not.
2002-10-04 14:26:10 +00:00
Daniel Stenberg
3d5820648b
as Ralph Mitchell pointed out, the Location: following code needs some
...
basic ./ and ../ strip-off understanding, and this change introduces with.
test cases 49 - 52 test this.
2002-10-04 14:15:01 +00:00
Daniel Stenberg
dc9e415602
get an argument and add a 'age' field to the struct
2002-09-30 19:51:05 +00:00
Daniel Stenberg
84fa12c885
Cris Bailiff found this flaw, gethostbyname_r() on linux returns 0 even
...
when it can't lookup the name (at least in some cases) and thus we need
to make an extra check to detect failures.
2002-09-30 08:07:16 +00:00
Daniel Stenberg
0ff89b9c3c
Allow a "" proxy explicitly set dont-use-proxy, i.e don't even check the
...
environment variables or anything. Setting it to NULL disables proxy as well,
but allows the environment variables to kick in and be used.
2002-09-27 09:49:40 +00:00
Daniel Stenberg
9247daf953
enhanced curl_version_info
2002-09-26 13:03:22 +00:00
Daniel Stenberg
1ee1f5f427
extended curl_version_info() with more info on related sub-libraries
2002-09-25 15:38:48 +00:00
Daniel Stenberg
969217c9d9
make sure we free rangeline before we re-assign it to a new allocated
...
memory as otherwise we (might) leak memory
2002-09-25 12:47:38 +00:00
Daniel Stenberg
6883f0c49f
Walter J. Mack added curl_free
2002-09-25 12:26:07 +00:00
Daniel Stenberg
ec9acbcda7
Andrs Garca found out that Curl_protocol_connect() could return an
...
uninitialized variable.
2002-09-25 11:27:06 +00:00
Daniel Stenberg
c0460660d5
Wez Furlong's curl_version_info() function added, still needs some
...
adjustments and possibly some improvments to feature all those things we
could possibly want from this.
2002-09-25 07:08:41 +00:00
Daniel Stenberg
5b3069e265
spell fix comment
2002-09-23 12:55:36 +00:00
Daniel Stenberg
b466924717
removed use of extra unneeded variable
2002-09-23 12:47:18 +00:00
Daniel Stenberg
cbc0f65fa3
Dolbneff A.V and Spiridonoff A.V made the file:// code work with resumes
...
in the same style other code does.
2002-09-23 12:46:23 +00:00
Daniel Stenberg
35089a4289
properly disconnect failed connections
2002-09-23 12:44:45 +00:00
Daniel Stenberg
aef3131e92
Craig Markwardt made the "struct hostent_data" get cleared too, as is
...
needed on Tru64 (or something).
2002-09-20 14:40:14 +00:00
Daniel Stenberg
fb5d267bd0
a follow-up fix to the previous fix for HTTP servers that don't reply *any*
...
headers at all
2002-09-16 14:02:08 +00:00
Daniel Stenberg
c19844a0a3
better deal with HTTP(S) servers that respond with no headers at all, test
...
case 306 added to verify that we do right
2002-09-13 12:40:36 +00:00
Daniel Stenberg
cac5251a98
Lukasz Czekierda correctly pointed out that curl used a bad Host: header
...
when talking to a IPv6-server using IPv6 IP address only.
2002-09-11 10:32:37 +00:00
Daniel Stenberg
efca2943a0
minor indent change
2002-09-09 11:23:34 +00:00
Daniel Stenberg
371da7132f
remove redundant comment
2002-09-09 11:23:13 +00:00
Joern Hartroth
b2563b9f9f
Added content_encoding files.
2002-09-06 22:05:36 +00:00
sm
4a7cf65064
Added multi.c to curllib.dsp to fix win32 build
2002-09-04 15:07:28 +00:00
Daniel Stenberg
ba4e69bebc
updated source code boilerplate/header
2002-09-03 11:52:59 +00:00
Daniel Stenberg
955da86a3e
fixed the dist-hook and added the missing header file
2002-09-03 11:26:07 +00:00
Daniel Stenberg
64bbe9dfaf
James Gallagher's Content-Encoding work
2002-09-02 22:31:18 +00:00
Daniel Stenberg
2e8a9416af
ca bundle to use
2002-09-02 22:29:48 +00:00
Daniel Stenberg
5dd40bd0bb
adjusted to more HTTP-strict version strings and to offer LIBZ info
2002-09-02 21:59:31 +00:00
Daniel Stenberg
56c43604d0
if verifypeer is enabled but nether CAfile nor CApath is, then don't try
...
to load "verify_locations"
2002-08-30 12:07:42 +00:00
Daniel Stenberg
7438c378be
prevent compiler warning
2002-08-30 11:10:50 +00:00
Daniel Stenberg
0e0caf7c06
CURLE_SSL_INSECURE is removed again and so is CURLOPT_SSL_INSECURE, we
...
proceed fine with the already existing options, just having a different
internal library default for capath.
2002-08-30 11:09:49 +00:00
Daniel Stenberg
5644f4a295
support DESTDIR for the bundle
2002-08-30 11:02:49 +00:00
Daniel Stenberg
8aa3f14303
SOCKS5 support added (contributed by a still unnamed person). Not properly
...
working for "IPv6 enabled" libcurls yet, but should be pretty easy for
someone to adjust.
2002-08-30 09:20:11 +00:00
Daniel Stenberg
ac285b453e
ca-bundle stuff for configure and generated header file
2002-08-30 07:50:59 +00:00
Daniel Stenberg
7140baae72
remove the data and conn fields from the Curl_transfer_keeper struct, they
...
weren't used anyway and mostly caused confusion
2002-08-29 06:09:21 +00:00
Daniel Stenberg
27a2e590cd
SSL_INSECURE support and usage added
2002-08-26 23:13:25 +00:00
Daniel Stenberg
6561ec524b
don't attempt to ftp_cwd() on a NULL path
2002-08-26 22:00:01 +00:00
Daniel Stenberg
982c5460f0
Andrew Francis removed the need for/use of MSVC pragmas
2002-08-26 17:20:29 +00:00
Daniel Stenberg
74be55a477
Markus F.X.J. Oberhumer's added comment
2002-08-22 19:38:50 +00:00
Daniel Stenberg
394832c2d6
Markus Oberhumer improved an out-of-memory check
...
I reformatted some functions using a different indent than the rest
of the file.
2002-08-22 19:38:17 +00:00
Daniel Stenberg
03e4a8214c
allow undefined symbols!
2002-08-22 14:28:15 +00:00
Daniel Stenberg
a72d789b08
Added three more pragmas for MSVC++ compiles.
...
We *really* need these sorted out. I'd prefer to have them all removed and
the actual code corrected instead of just diabling the warnings and pretending
that they don't exist.
2002-08-20 11:46:48 +00:00
Daniel Stenberg
87ad7ace18
prevent compiler warnings
2002-08-20 11:43:31 +00:00
Daniel Stenberg
35153eb524
windows has stdlib.h
2002-08-20 11:42:35 +00:00
Daniel Stenberg
6dfe0ec31e
Sterling Hughes brings the share interface
2002-08-13 14:20:47 +00:00
Daniel Stenberg
30b7a9f172
fixed a Curl_connecthost() bug, we should default to set connected to false
2002-08-12 12:01:57 +00:00
Daniel Stenberg
cb895ec335
Initial fix to make the multi interface return control while waiting for
...
the initial connect to "come through".
This should work fine for connect and for FTP-PASV connects. Needs massive
testing.
2002-08-12 09:43:20 +00:00
Daniel Stenberg
c88036405f
ignore generated files
2002-08-08 23:11:26 +00:00
Daniel Stenberg
4cf953678d
Markus F.X.J. Oberhumer's CURLOPT_NOSIGNAL patch
2002-08-08 22:52:50 +00:00
Daniel Stenberg
ca5678c8c1
attempted hpux fix for resolves
2002-08-08 22:44:43 +00:00
Daniel Stenberg
312bcafd05
ignore all .in files
2002-08-08 04:44:41 +00:00
Daniel Stenberg
108cb14d1f
Make SessionHandle keep record if it is used with the multi interface or
...
the easy interface, it CANNOT be used by a mixture.
2002-08-05 17:04:39 +00:00
Daniel Stenberg
215c445583
re-added the RFC2732-parser that was lost for some reason during the flow
...
of time!
2002-08-05 16:50:55 +00:00
Joern Hartroth
94eeeba79a
Added multi interface functions to DLL definitions.
2002-08-03 16:38:28 +00:00
Daniel Stenberg
ecd29a289a
corrected some warnings
2002-08-01 14:30:42 +00:00
Daniel Stenberg
e7d0af72e3
Changed the PORT command to pick a better default IP address if "-" is used.
...
It now uses the local IP adress of the control connection.
2002-08-01 14:25:12 +00:00
Daniel Stenberg
264a9bc6ed
Removed checks for if set.fpasswd is NULL, as we prevent users from setting
...
it to NULL and then use the internal default instead. It will always be
a function to call.
2002-07-29 22:45:50 +00:00
Daniel Stenberg
7313501e30
fixed the Curl_cookie_add() invoke to not assume a space after the colon
2002-07-29 22:23:55 +00:00
Daniel Stenberg
d8b2c819e7
properly skip white spaces on Set-Cookie: header lines
2002-07-29 22:22:49 +00:00
Daniel Stenberg
a46e2e9900
link with winmm.lib too
2002-07-29 14:20:53 +00:00
Daniel Stenberg
14f0dd2dd0
use stderr to present the prompt to, make sure to close the fopen()ed
...
file handle
2002-07-29 14:15:14 +00:00
Daniel Stenberg
c051438fa1
Added multi.[co] to the build
2002-07-29 11:07:26 +00:00
Daniel Stenberg
7f8ad34ba2
Glen Nakamura made his fix look even better!
2002-06-26 15:39:23 +00:00
Daniel Stenberg
a33e89b44a
Glen Nakamura's patch for Curl_getaddrinfo().
2002-06-26 08:03:46 +00:00
Daniel Stenberg
2f8e7f56b3
ignore '+' in URLs, generate only %-codes
2002-06-26 07:15:31 +00:00
Daniel Stenberg
2443e1f38c
T. Bharath fixed his mm lib timer resolution fix
2002-06-26 06:47:18 +00:00
Daniel Stenberg
e54e0c7877
CURLOPT_BUFFERSIZE allows an application to set a prefered buffer size
...
for receiving data from the network. It is meant as a hint, not as a forced
limit.
2002-06-15 21:00:54 +00:00
Daniel Stenberg
2b34d4e1f7
- Yarram Sunil found out that the SocketIsDead() function performed a lot
...
faster on Windows when removing the 1 microsecond timeout.
2002-06-14 12:05:20 +00:00
Daniel Stenberg
c7aa095fac
Hanno L. Kranzhoff fixed them
2002-06-14 09:36:09 +00:00
Daniel Stenberg
93f1784526
Remade the FTP not-check status line and not-attempt-to-read-status-line
...
variables, conditions and things.
2002-06-14 06:57:00 +00:00
Daniel Stenberg
559dc503c2
Tom Mattison's report found out, and this is the fix that should prevent
...
FTP from closing the connections a little too often!
2002-06-13 22:22:59 +00:00
Daniel Stenberg
3c63e1d8d9
Added 'dont_check' to be set during an FTP operation if the final status
...
message is supposed to be ignored.
2002-06-13 09:21:08 +00:00
Daniel Stenberg
cae555c977
when no FTP transfer was done, don't attempt to read the download transfer
...
thing. The 'resumed' flag is also causing confusions. I'll deal with that
tomorrow.
2002-06-12 22:05:28 +00:00
Daniel Stenberg
407583e8e2
Moved the secondarysocket cleanup. The 'conn' struct may have been cleared
...
already at that other place.
2002-06-12 22:04:25 +00:00
Daniel Stenberg
131645dc31
Chris Combes added CURLFORM_BUFFER, CURLFORM_BUFFERPTR, CURLFORM_BUFFERLENGTH
2002-06-12 21:40:59 +00:00
Daniel Stenberg
73cc1742af
HAVE_SIGSETJMP
2002-06-12 17:56:22 +00:00
Daniel Stenberg
87afd7686f
added a connect failure error message that might get empty otherwise
2002-06-12 09:48:26 +00:00
Daniel Stenberg
8ce10b5dfa
Jrn fixes for 7.9.8 build
2002-06-12 09:18:37 +00:00
Daniel Stenberg
20f85b94df
kris@freebsd.org fixed a bad format string
2002-06-12 07:45:11 +00:00
Daniel Stenberg
17b784381e
kris@freebsd.org fixed a few bad format strings
2002-06-12 07:44:22 +00:00
Daniel Stenberg
38c994a7ae
put #ifdefs around the sigjmp_buf declaration too, as it should be
2002-06-11 15:47:01 +00:00
Daniel Stenberg
85e2e96fb6
corrected the signal handler
2002-06-11 15:44:27 +00:00
Daniel Stenberg
3c49b405de
Now uses sigsetjmp() and siglongjmp() to bail out from slow name lookups in
...
case a timeout is set. This seems to work. God knows if it is good enough
or what kind of side-effects we introduce here and now.
I'll close my eyes and cross my fingers. Hard.
2002-06-11 15:10:18 +00:00
Daniel Stenberg
e9f1c12f0f
removed accidentally added debug-code!
2002-06-11 14:10:32 +00:00
Daniel Stenberg
4fe252847c
ftp range downloads make us ignore the final status message as the server
...
will most likely treat the download as failed as we might abort it
pre-maturely
2002-06-11 12:35:03 +00:00
Daniel Stenberg
08ef208fb7
added disable-[protocol] support, largely provided by Miklos Nemeth
2002-06-11 11:13:01 +00:00
Daniel Stenberg
25dc520163
added multi.obj
2002-06-11 11:11:06 +00:00
Daniel Stenberg
fc37ef9e4b
make sure data->set.postfields is non-NULL before doing strlen() on the
...
pointer. Bugs item #566835 .
2002-06-11 07:20:21 +00:00
Daniel Stenberg
11ba367fc9
getaddrinfo() failures now show port number too in informational output
2002-06-10 13:26:02 +00:00
Daniel Stenberg
78473f71eb
added a missing failf() for certain connect failures
2002-06-10 13:25:03 +00:00
Daniel Stenberg
8b77f40f99
This fix MIGHT make us build nicely with OpenSSL 0.9.7. This fix is based
...
on a patch from Jacob Meuser, input from Gtz Babin-Ebell and my own
browsing of the latest include files.
2002-06-10 12:38:10 +00:00
Daniel Stenberg
d866716565
Gautam Mani found a socket descriptor leak that happened when FTP transfers
...
failed and you reinvoked curl_easy_perform().
2002-06-10 12:34:04 +00:00
Daniel Stenberg
b47b053e54
Gustaf Hui fixed curl_multi_remove_handle() to prevent a potential crash
2002-06-05 21:29:20 +00:00
Daniel Stenberg
b79f01caf3
set HAVE_RAND_STATUS too
2002-06-05 14:14:54 +00:00
Daniel Stenberg
0db227f55e
hostcache_fixoffset() is now corrected to work on 64bit architectures
...
Bug report #564585 .
2002-06-05 13:41:33 +00:00
Daniel Stenberg
0be3f1a063
T. Bharath's updates since curl now uses the winmm lib for higher resolution
...
timer
2002-06-03 12:48:31 +00:00
Daniel Stenberg
c0257c6721
T. Bharath made the request size add up as it is documented to do.
2002-06-03 12:47:08 +00:00
Daniel Stenberg
9aec0fc7de
T. Bharath fixed higher resolution time for windows builds
2002-06-03 12:46:32 +00:00
Daniel Stenberg
bce5e0d82c
T. Bharath fixed the TIMER_REDIRECT.
2002-06-03 12:46:04 +00:00
Daniel Stenberg
62032ee248
Getting an empty FTP file no longer makes us return error 19. An empty file
...
is fine to get.
2002-05-28 22:33:30 +00:00
Daniel Stenberg
775645f29b
Gustaf Hui provided new code that changes how curl_multi_info_read()
...
messages are stored, so that they don't have to be kept around for the multi
handle's entire life time. He also made it return failure codes properly
which it didn't do before.
I made the messages only get stored per easy-handle so that they can be
independently killed easier without ruining the "master list". It makes
the info_read() function slightly less beautiful as it has to scan for
messages to return, but it makes removing individual handles a lot easier
and less error prone.
2002-05-28 14:45:50 +00:00
Daniel Stenberg
99c0456872
Adjusted to make curl_multi_perform() work properly even when
...
curl_multi_fdset() is not used.
2002-05-28 14:18:36 +00:00
Daniel Stenberg
59c11b82d5
Cris Bailiff's CAPATH support added
2002-05-28 09:21:29 +00:00
Daniel Stenberg
ec585e8907
When re-using a connection, make sure that we use the current host name as
...
we might actually re-use a connection to a different host, when using proxies!
This was what bug report #558888 was all about.
2002-05-21 22:24:56 +00:00
Daniel Stenberg
105ec79b2b
James Cone's efforts to add another netrc parsing "mode"
2002-05-21 22:17:19 +00:00
Daniel Stenberg
c7b03d6479
maprintf() and vmaprintf() now work better when printfing "%s" with an
...
empty string
2002-05-21 17:59:57 +00:00
Daniel Stenberg
323f195036
ASN1 files don't work for the *chain_file(), make them use the previous
...
version
2002-05-21 08:15:42 +00:00
Daniel Stenberg
5d2944c211
curl_formadd() now returns 'CURLFORMcode' instead of int, to better enable
...
checking for particular errors. curl/curl.h defines the errros
2002-05-21 07:44:27 +00:00
Daniel Stenberg
fe3ba1dd11
Roland Zimmermann's hint, we use SSL_CTX_use_certificate_chain_file() instead
...
of the previous one that used SSL_CTX_use_certificate_file()
2002-05-20 14:25:35 +00:00
Daniel Stenberg
9263652c6d
Fixes bug report #556930 - we need to make sure that the data is all right
...
after we've realloc() the packed hostent struct.
2002-05-17 07:49:28 +00:00
Daniel Stenberg
980a47b42b
support for ingoring session cookies added
2002-05-07 09:58:13 +00:00
Daniel Stenberg
f7ca561b06
the code for case CURLOPT_DEBUGDATA code broke the CURLOPT_STDERR one!
2002-05-06 18:30:17 +00:00
Daniel Stenberg
44debdde62
Better support for being used with the multi interface without the *fd_set()
...
and proper select()ing have been made.
2002-05-05 12:11:03 +00:00
Daniel Stenberg
d321056e8d
made VERBOSE output more like it used to be, HEADER_IN is thus also ignored
...
by the internal debugfunction callback
2002-05-04 15:36:07 +00:00
Daniel Stenberg
d9a1a59f22
CURL_MAX_WRITE_SIZE is a new exported define that informs about the biggest
...
sized buffer that may be passed to a write callback
2002-05-03 14:50:29 +00:00
Daniel Stenberg
0b898b5a8a
fixed return code
2002-05-03 12:40:37 +00:00
Daniel Stenberg
86cc34c0de
made the DEBUGFUNCTION get called properly on a few more places, especially
...
for DATA_IN and DATA_OUT.
2002-05-03 12:07:32 +00:00
Daniel Stenberg
39028f1bd4
make sure our own printf() clones are used
2002-05-03 12:06:04 +00:00
Daniel Stenberg
913e997061
use and set the fd_set pointers instead of the actual values, as then we
...
work properly with the multi interface when the user has provided the
fd_sets!
2002-05-02 22:14:31 +00:00
Daniel Stenberg
8e50d6b6f3
added two pointers to the fd_set variables to read/write from, as sometimes
...
we need to point to user-provided fd_sets
2002-05-02 22:13:35 +00:00
Daniel Stenberg
2db0744a7b
return CURLM_CALL_MULTI_PERFORM in one more case, and check return code
...
from malloc()
2002-05-02 22:12:14 +00:00
Daniel Stenberg
2de0028349
make sure the dns cache pointers in the easy handles are NULLed
2002-05-02 18:07:38 +00:00
Daniel Stenberg
35d04c5398
Hanno Kranzhoff noticed we didn't properly reset the download/upload counters
...
before transfers, when doing multiple ones on the same handle.
2002-05-02 08:52:09 +00:00
Daniel Stenberg
b1becd0ed5
Jacky Lam's fix to make the realloc() of the hostent data work properly
...
even when the realloc() actually gets a new memory block
2002-05-01 11:36:13 +00:00
Daniel Stenberg
969a25d1b2
implemented curl_multi_info_read() which I had forgotten before!
2002-04-27 22:21:51 +00:00
Daniel Stenberg
c64fca1b0c
Fixed the FTP response reader to deal with timeouts better. Previously it
...
would reset the timeout for each incoming data, which would make veeery
slow responses be allowed to take even more time since the timeout would only
be reached if the time between two received data chunks was longer than the
set timeout value...
2002-04-27 13:24:06 +00:00
Daniel Stenberg
15b2a3af91
(Curl_GetFTPResponse) moved some code to only get performed when actually
...
needed
2002-04-27 13:09:37 +00:00
Daniel Stenberg
8358505b6d
Now uses Curl_ as prefix for internal global symbols. curl_ should only be
...
used for "exported" globals.
2002-04-27 13:07:51 +00:00
Daniel Stenberg
1c42779845
DNC cache prune crash removed, made the name spacing follow the general
...
rule: "Curl_" prefix for library-wide private symbols, "curl_" is for
exported symbols.
2002-04-27 13:06:40 +00:00
Daniel Stenberg
f564905ac4
adjusted to the new Curl_resolv() proto
2002-04-25 19:26:29 +00:00
Daniel Stenberg
00e4f81446
prevent persistant connections to do name resolves
2002-04-25 19:18:19 +00:00
Daniel Stenberg
8927ddec16
In order to not get problems with DNS cache pruning, we no longer store
...
any name resolved data in any curl handle struct. That way, we won't mind
if the cache entries are pruned for the next time we need them. We'll just
resolve them again instead.
This changes the Curl_resolv() proto. It modifies the SessionHandle struct
but perhaps most importantly, it'll make the internals somewhat dependent
on the DNS cache not being disabled as that will cripple operations somewhat.
Especially for persistant connections.
2002-04-25 19:00:57 +00:00
Daniel Stenberg
0be7944d66
use the hostname pointer instead of using IPv4-only info from a struct
2002-04-25 15:50:49 +00:00
Daniel Stenberg
3b9ef8dfc8
removed warning about signed/unsigned comparison
2002-04-23 14:57:37 +00:00
Daniel Stenberg
db6d4bcf47
the 80 column police narrowed this source code! B-]
2002-04-23 14:56:21 +00:00
Daniel Stenberg
471f1d694f
fixes bug report #547484 , no_proxy doesn't properly strip off port numbers
...
from the host names before comparing
2002-04-23 13:34:28 +00:00
Daniel Stenberg
36e35b6f60
allow binding the local end of a connection even when using IPv6, thus we
...
now have --interface working properly
2002-04-22 23:56:13 +00:00
Daniel Stenberg
192606bc4b
use double where it is supposed to
2002-04-22 23:54:43 +00:00
Daniel Stenberg
53a9fdf078
use sclose() to close sockets
2002-04-22 23:53:49 +00:00
Daniel Stenberg
ef436bdbe8
renamed the TIMECOND defines to be CURL_ prefixed
2002-04-22 23:53:15 +00:00
Daniel Stenberg
21fc402c01
Jacky Lam's adjust resolve-buffer size patch applied. Slightly edited
...
by Daniel.
2002-04-22 13:31:16 +00:00
Daniel Stenberg
381f77756d
pack_hostent does not handle 64 bit pointers correctly.
...
A Bjrn Reese patch.
2002-04-19 11:00:26 +00:00
Sterling Hughes
a386562d9a
Prune old hostcache entries with each call...
...
This can be optimized a tidbit, but this is a start.
2002-04-17 20:13:55 +00:00
Daniel Stenberg
08f8917acb
Dirk Manske's fix for HTTP response code 301, that now behaves more like
...
browsers do. Which thus *breaks* the RFC 2616...
2002-04-17 07:16:49 +00:00
Daniel Stenberg
62d205a2ec
Dirk Manske brought the patch that introduces two new CURLINFO_* values:
...
CURLINFO_REDIRECT_TIME and CURLINFO_REDIRECT_COUNT.
2002-04-16 07:59:20 +00:00
Daniel Stenberg
29e873b12d
Jonatan Lander fixed the "Disables POST, goes with GET" output to be more
...
connected with reality! ;-)
2002-04-15 13:47:06 +00:00
Daniel Stenberg
95f78080ab
This makes formposting with a specified file missing fail. curl_easy_perform
...
will then return CURLE_READ_ERROR.
2002-04-15 11:19:03 +00:00
Daniel Stenberg
2361aabbef
Dirk Manske made libcurl strip off white spaces from the beginning of cookie
...
contents.
2002-04-14 18:21:17 +00:00
Daniel Stenberg
53c0e97117
removed unused variable
2002-04-14 07:33:44 +00:00
Sterling Hughes
bb44791bf3
Add protos and change return value of curl_hash_count....
2002-04-13 01:56:22 +00:00
Sterling Hughes
9ebcfe9dff
Speed up the hash code considerably, removing a bunch of legacy crud
2002-04-12 23:40:19 +00:00
Daniel Stenberg
c06171a802
store TIMER_CONNECT even if the connect failed
2002-04-12 10:03:59 +00:00
Daniel Stenberg
5528c1eaa5
corrected the verbose output for connects and fixed the connect time stamp
...
better for FTP (any protocol with protocol-specific connect actions)
2002-04-12 08:18:38 +00:00
Daniel Stenberg
93516effe4
the HTTP request is a CURLINFO_HEADER_OUT
2002-04-12 07:53:12 +00:00
Daniel Stenberg
3f6133be27
Jean-Philippe Barrette-LaPierre provided his patch that introduces
...
CURLOPT_DEBUGFUNCTION and CURLOPT_DEBUGDATA.
2002-04-12 07:21:11 +00:00
Daniel Stenberg
c69dd14cbc
added RISCOS makefile
2002-04-10 20:54:21 +00:00
Daniel Stenberg
7954652b80
brougth by Michael Curtis
2002-04-10 20:52:26 +00:00
Daniel Stenberg
308ae5cbf2
added info in to failf() lines and added a infof() call just before the
...
connect() so that it tells to which host and what port it is about to
attempt the connection
2002-04-10 14:20:24 +00:00
Daniel Stenberg
1cd5cdfccb
default proxy port set, as reported by Sebastien Willemijns
2002-04-10 14:07:03 +00:00
Daniel Stenberg
e8109b09b1
error code cleanup, use the new SEND/RECV errors
2002-04-10 13:44:42 +00:00
Daniel Stenberg
0866c1b52d
Michael Curtis' updates
2002-04-08 21:59:06 +00:00
Daniel Stenberg
5d28a857a4
based on Jacky Lam's "HTTP 1.0 304-only" fix, this change makes a 304 reply
...
always stop reading after the headers no matter what 'close' is.
2002-04-08 07:27:22 +00:00
Daniel Stenberg
a03fd7b81c
T. Bharath pointed out the flaw in ConnectionExists() for how we didn't
...
check proxy connections for "deadness" before they were re-used
2002-04-04 12:23:14 +00:00
Daniel Stenberg
1cfcbc50a6
Fixes the problem Jacky Jam pointed out, where libcurl will "hang" for an
...
extra second after having downloaded headers-only
2002-04-04 12:19:56 +00:00
Daniel Stenberg
d560207ea1
This corrects VERBOSE PASV ftp transfers on AIX (and OSF1/Tru64)
...
Gerhard Herre reported this in bug report #536238
2002-04-04 06:07:56 +00:00
Daniel Stenberg
90b51831fd
Tor Arntsen's fix for "CGI_Lite" compliance!
2002-04-03 11:11:01 +00:00
Daniel Stenberg
547e91dbf0
Clarence Gardner pointed out the not-taken-care-of return codes from SSL_read
2002-04-02 09:33:38 +00:00
Daniel Stenberg
04da96e044
Jacky Lam added memdebug.h include to prevent crashes when that is used
2002-04-02 06:36:47 +00:00
Daniel Stenberg
541e5a3b82
Jacky Lam cookie parser fix for domains with preceeding dot
2002-03-25 09:08:33 +00:00