aboutsummaryrefslogtreecommitdiff
path: root/lib/http.c
AgeCommit message (Collapse)Author
2004-05-04check malloc() return codeDaniel Stenberg
2004-05-04General HTTP authentication cleanup and fixesDaniel Stenberg
2004-04-29fixed the host/proxy name issue when re-using a connection and made IDN namesDaniel Stenberg
work when using proxy by converting the IDN-name to the ACE-encoded version before the request-URL is passed to the proxy.
2004-04-27Made host name and proxy name get stored in a 'struct hostname' and setDaniel Stenberg
all things up to work with encoded host names internally, as well as keeping 'display names' to show in debug messages. IDN resolves work for me now using ipv6, ipv4 and ares resolving. Even cookies on IDN sites seem to do right.
2004-04-26IDN adjustments and host cleanups by GisleDaniel Stenberg
2004-04-23Replaced Curl_FormReadOneLine with Curl_formpostheader as that is the only useDaniel Stenberg
for it. It saves one extra copy of the header. I also added comments for several functions in formdata.c
2004-04-22missing braceDaniel Stenberg
2004-04-22- David Byron found and fixed a small bug with the --fail and authenticationDaniel Stenberg
stuff added a few weeks ago. Turns out that if you specify --proxy-ntlm and communicate with a proxy that requires basic authentication, the proxy properly returns a 407, but the failure detection code doesn't realize it should give up, so curl returns with exit code 0. Test case 162 verifies this.
2004-04-22Added commentsDaniel Stenberg
2004-04-20Cleaned up hostname/name/gname and path/ppath confusion. Removed the fixed-Daniel Stenberg
length limit of the hostname part of the URL.
2004-04-13remove an long time #defined struct member and use the actual "real" nameDaniel Stenberg
instead to make it easier to find/read
2004-04-07getting only a 100 Continue response and nothing else, when talking HTTP,Daniel Stenberg
is now treated as an error by libcurl
2004-04-06New authentication code added, particularly noticable when doing POST or PUTDaniel Stenberg
with Digest or NTLM. libcurl will now use HEAD to negotiate the authentication and when done perform the requested POST.
2004-03-30adjusted to the new dns cache function to hide more hostip internalsDaniel Stenberg
2004-03-30if 0'ed out a code section that uses __FUNCTION__ etc, used for debuggingDaniel Stenberg
the new "fail with auth" code
2004-03-30David Byron made CURLOPT_FAILONERROR work with authentications such as NTLMDaniel Stenberg
or Digest.
2004-03-14fix signed and unsigned warningsDaniel Stenberg
2004-03-13postsize is off_t now, so we typecase it to int before doing normal printfDaniel Stenberg
with it (knowing it won't be larger than what fits in an int)
2004-03-13the postsize is an off_t so use the proper printf format to output theDaniel Stenberg
content-length when doing multipart posts
2004-03-12more variable type fixing for the huge postsDaniel Stenberg
2004-03-12more variable type fixes for the large POST supportDaniel Stenberg
2004-03-12Made the 'postsize' variable an off_t type to be able to hold large fileDaniel Stenberg
sizes if desired
2004-03-10Use more curl_off_t variables when doing the progress meter calculations andDaniel Stenberg
argument passing and try to convert to double only when providing data to the external world.
2004-03-10curl_socket_t mistakes cleanupDaniel Stenberg
2004-03-10keep the number of bytes read in a size_t variableDaniel Stenberg
2004-03-09Use curl_socket_t instead of int for holding sockets. The typedefs andDaniel Stenberg
defines are in setup.h.
2004-03-09explicit typecast to visualize that we really want the result of theDaniel Stenberg
operation as a size_t
2004-03-05issue 12 fixDaniel Stenberg
2004-03-02Yet another curl_off_t printf format attempt, we now exclude the %-letter fromDaniel Stenberg
FORMAT_OFF_T to allow additional options to get specified, like with '"%5" FORMAT_OFF_T'.
2004-03-02use FORMAT_OFF_T instead of CURL_FORMAT_OFF_T to reduce the complexity ofDaniel Stenberg
having to redef that name
2004-03-01Use CURL_FORMAT_OFF_T for printf()inf curl_off_t variables.Daniel Stenberg
2004-02-26Clear up int/long/size_t/ssize_t usage a bitDaniel Stenberg
2004-02-23More size_t cleanups in the base64 functions.Daniel Stenberg
2004-02-09Modified the default HTTP Accept: header to only be Accept: */*Daniel Stenberg
2004-02-06A custom Host: header is only considered if the request is not made byDaniel Stenberg
following a location. After discussions with Tim Baker.
2004-02-05if an empty 'transfer-encoding:' header is provided, we switch off theDaniel Stenberg
chunky coding of uploads
2004-02-02set the 'retry' bit to TRUE when the connection is about to be retried,Daniel Stenberg
this allows the HTTP code to *not* return a failure just because no data has been received from the server
2004-01-29Dan Fandrich's cleanup patch to make pedantic compiler options cause lessDaniel Stenberg
warnings. Minor edits by me.
2004-01-28Chunked-transfers should have an additional CRLF after the final 0 CRLFDaniel Stenberg
sequence.
2004-01-27CONNECT response headers are now passed back as "regular" headersDaniel Stenberg
2004-01-22use curl_off_t instead of off_t!Daniel Stenberg
2004-01-09added one assert and a few comments describing how the auth stuff worksDaniel Stenberg
2004-01-07updated year in the copyright stringDaniel Stenberg
2004-01-05David J Meyer's large file support.Daniel Stenberg
2003-11-25When basic is the only auth wanted (which it is by default), the auth phaseDaniel Stenberg
is always considered done immediately as Basic needs to extra passes. This fix corrects bug report #848371.
2003-11-24allow the end-of-headers from a proxy response to CONNECT end with a CRCRDaniel Stenberg
as well as a CRLF
2003-11-24FTPS support added as RFC2228 and the murray-ftp-auth-ssl draft describe itDaniel Stenberg
2003-11-20bail out properly on a 407 when we can't authenticate basic, bug reportDaniel Stenberg
#845247
2003-10-31gmtime() really can't even return NULL, can it?Daniel Stenberg
2003-10-24Improved checks for bad memory situations and proper behaviour when weDaniel Stenberg
run out of memory.