aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2002-01-28Steve Marx helped us realize that we shouldn't treat customrequest as aDaniel Stenberg
request of its own, it just changes the keyword of a request.
2002-01-28someone should have me punished, but this bug made curl bug seriouslyDaniel Stenberg
on IPv4-linux machines
2002-01-28newly generatedDaniel Stenberg
2002-01-28Andreas Damm made it reentrant safe!Daniel Stenberg
2002-01-27no longer add CRLF _after_ POST data, it should not be needed. Pedro NevesDaniel Stenberg
pointed out this ugliness.
2002-01-27set header and request size to 0 before each *_perform()Daniel Stenberg
2002-01-25bug report #508235 identified a non-working Location: following, and thisDaniel Stenberg
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-23Andrés García found out that we didn't properly stop reading from a connectionDaniel Stenberg
after the headers on a HEAD request. This bug has been added in 7.9.3 and was mnot present earlier.
2002-01-19#505514, as correctly pointed out by Antonio (anton@concord.ru), trying toDaniel Stenberg
post a non-existing file should include nothing, not an error text!
2002-01-18newly generatedDaniel Stenberg
2002-01-18 satisfy gcc -WundefDaniel Stenberg
2002-01-18#if [undefined] => #ifdef [undefined]Daniel Stenberg
2002-01-18prevents gcc -Wcast-align from complainingDaniel Stenberg
2002-01-18made gcc -Wcast-align happyDaniel Stenberg
2002-01-18#ifndef and #define magic to prevent compiler warnings when doing #if BLADaniel Stenberg
where BLA is undefined
2002-01-18cut off a big piece of comment and added a pointer to the Trio web pageDaniel Stenberg
should anyone ever want a good printf() clone
2002-01-18I wish I could type. Anyway, this proved it is a good habit to put the NULLDaniel Stenberg
on the left side of comparisons...
2002-01-18added typecast for a malloc() return, and added check for NULLDaniel Stenberg
2002-01-18Added #include <errno.h>Daniel Stenberg
2002-01-18Andrés García patched. It now checks for EWOULDBLOCK properly on windowsDaniel Stenberg
boxes.
2002-01-18patched by Andrés GarcíaDaniel Stenberg
2002-01-17Richard Archer made it compile and build with OpenSSL versions prior toDaniel Stenberg
0.9.5
2002-01-17include our own sprintf() prototype to make it return sensible data onDaniel Stenberg
all platforms, I also edited a few data types slightly to prevent my compiler from warning on comparisions between signed and unsigned values
2002-01-17Get this working, still need to check for leaks and such, but should beSterling Hughes
fine..
2002-01-17Make the keys for hostcache entries be in the format::Sterling Hughes
host:port, so accessing curl.haxx.se on port 80 would yield a key value of :: curl.haxx.se:80
2002-01-16SSL writes passed back a silly length...Daniel Stenberg
2002-01-16fixed time-out returned without error text setDaniel Stenberg
2002-01-16Kevin Roth's SSLeay() patch, slight edited by me. Works with OpenSSL 0.9.5Daniel Stenberg
now.
2002-01-16- shrunk the BUFSIZE define from 50K to 20KDaniel Stenberg
- made a separate buffer for uploads (due to the non-blocking stuff) - added two connectdata struct fields for non-blocking uploads
2002-01-16modified to deal with the new non-blocking versions of Curl_read() andDaniel Stenberg
Curl_write().
2002-01-16Curl_write's 5th argument now is signedDaniel Stenberg
2002-01-16Curl_read() and Curl_write() are both now adjusted to return properly inDaniel Stenberg
cases where EWOULDBLOCK or equivalent is returned. We must not block.
2002-01-16Curl_write() now takes a different 5th argumentDaniel Stenberg
2002-01-16Somewhat ugly fix to deal with non-blocking sockets. We just loop and tryDaniel Stenberg
again. THIS IS NOT A NICE FIX.
2002-01-16Somewhat ugly fix to deal with non-blocking sockets. We just loop and tryDaniel Stenberg
again. THIS IS NOT A NICE FIX. We should/must make a select() then and only retry when we can write to the socket again.
2002-01-14Curl_read() now returns a negative return code if EWOULDBLOCK or similarDaniel Stenberg
2002-01-14a memory leak when name lookup failed is now removedDaniel Stenberg
2002-01-14Remove erreaneous include, setup.h is included one line aboveSterling Hughes
2002-01-09Cris Bailiff found out that when the SSL session cache was filled, libcurlDaniel Stenberg
would crash. This corrects the problem.
2002-01-08added a missing failf() before returning an error codeDaniel Stenberg
2002-01-08this seems to correct the SSL reading problem introduced when switchingDaniel Stenberg
over to non-blocking sockets, but this loops very nastily. We should return back to the select() and wait there until more data arrives, not just blindly attempt again and again...
2002-01-08added two typecasts to prevent compiler (gcc3) warningsDaniel Stenberg
2002-01-081) the dns_cache_timeout should be an integer, not a boolSterling Hughes
2) in the curl_dns_cache_entry structure, timestamp should be a time_t instead of an integer (although I doubt it matters).
2002-01-08Add support for DNS cache timeouts via the CURLOPT_DNS_CACHE_TIMEOUT option.Sterling Hughes
The default cache timeout for this is 60 seconds, which is arbitrary and completely subject to change :)
2002-01-07As identified in bug report #495290, the last "name=value" pair in aDaniel Stenberg
Set-Cookie: line was ignored if they didn't end with a trailing semicolon. This is indeed wrong syntax, but there are high-profile web sites out there sending cookies like that so we must make a best-effort to parse them.
2002-01-07the bool typedef is now made unsigned, to make sure it stays that on allDaniel Stenberg
platforms, unrelated to what they might prefer by default
2002-01-07removed silly check for >=0 of a supposedly unsigned value!Daniel Stenberg
2002-01-07Probably not necessary, but good practice.Sterling Hughes
2002-01-07Make cach'ing work with threads now, there are now three cases:Sterling Hughes
- Use a global dns cache (via setting the tentatively named, CURLOPT_DNS_USE_GLOBAL_CACHE option to true) - Use a per-handle dns cache, by default - Use a pooled dns cache when in the "multi" interface
2002-01-07Modified to use non-blocking sockets all the time.Daniel Stenberg