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
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
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
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
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
5b3069e265
spell fix comment
2002-09-23 12:55:36 +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
371da7132f
remove redundant comment
2002-09-09 11:23:13 +00:00
Daniel Stenberg
ba4e69bebc
updated source code boilerplate/header
2002-09-03 11:52:59 +00:00
Daniel Stenberg
64bbe9dfaf
James Gallagher's Content-Encoding work
2002-09-02 22:31:18 +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
4cf953678d
Markus F.X.J. Oberhumer's CURLOPT_NOSIGNAL patch
2002-08-08 22:52:50 +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
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
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
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
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
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
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
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
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
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
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
e8109b09b1
error code cleanup, use the new SEND/RECV errors
2002-04-10 13:44:42 +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
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
854277bae5
crlf replacement on uploads did not work. test case 128 was added just now
...
to make sure it remains functional.
2002-03-20 10:53:24 +00:00
Daniel Stenberg
974f314f57
copyright string (year) update
2002-03-19 07:54:55 +00:00
Daniel Stenberg
5f758fbd11
make sure we return CURLE_WRITE_ERROR if the write callback returned
...
an error, even if we were decoding a chunked-encoded transfer
2002-03-15 12:42:41 +00:00
Daniel Stenberg
cfdb6f851c
2002
2002-03-14 14:37:41 +00:00
Daniel Stenberg
ea8476a2dc
Ralph Mitchell's SSL problems made me notice that we didn't increase the
...
header byte counter properly
2002-02-28 15:13:35 +00:00
Daniel Stenberg
a333bddeeb
Andrés García solved bug report #515228 by making sure the progress meter
...
is updated even if everything is read in one single pass, as the windows
functions apparantly does more often than other systems.
2002-02-20 13:38:34 +00:00
Daniel Stenberg
e9bfef0eb1
Brent Beardsley found the content-type bug!
2002-02-06 07:02:13 +00:00
Daniel Stenberg
a4934387d5
upload progress counter fix, removed the adjustable upload buffer size
2002-01-29 20:28:59 +00:00
Daniel Stenberg
76c53c690c
Giaslas Georgios introduced CURLINFO_CONTENT_TYPE
2002-01-29 10:49:32 +00:00
Daniel Stenberg
4146ce8267
bug report #508235 identified a non-working Location: following, and this
...
little fix seems to correct it. another case where we just returned and
didn't shut off the reading. This bug is introduced in 7.9.3 due to the
new internal "order".
2002-01-25 08:35:49 +00:00
Daniel Stenberg
2db894807b
Andrés García found out that we didn't properly stop reading from a connection
...
after the headers on a HEAD request. This bug has been added in 7.9.3 and was
mnot present earlier.
2002-01-23 07:15:32 +00:00
Daniel Stenberg
8d07c87be7
modified to deal with the new non-blocking versions of Curl_read() and
...
Curl_write().
2002-01-16 14:50:53 +00:00
Daniel Stenberg
4931fbce49
Curl_read() now returns a negative return code if EWOULDBLOCK or similar
2002-01-14 23:14:59 +00:00
Daniel Stenberg
1de82b220d
removed silly check for >=0 of a supposedly unsigned value!
2002-01-07 22:46:38 +00:00
Daniel Stenberg
c69c0c0446
added proper breaks in the switch()
2002-01-07 15:24:52 +00:00
Daniel Stenberg
e31a306a38
HTTP response 204 should be treated similar to 304, that is we must not
...
expect (nor read) any response-body
2002-01-07 14:57:18 +00:00
Daniel Stenberg
8b6314ccfb
merged the multi-dev branch back into MAIN again
2002-01-03 15:01:22 +00:00
Daniel Stenberg
7ee6a9dc25
i'm soooo funny
2001-12-04 09:14:41 +00:00
Daniel Stenberg
ca0fd33d2d
Georg Horn's STARTTRANSFER_TIME patch
2001-11-20 15:00:50 +00:00
Daniel Stenberg
fe3a78ab19
we use signal() to ignore signals only as long as we have to, and we now
...
restore the previous (if any) signal handler properly on return.
2001-11-07 14:13:29 +00:00