aboutsummaryrefslogtreecommitdiff
path: root/lib/http.c
AgeCommit message (Collapse)Author
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.
2003-10-21conn->user and conn->passwd will now always be set to point to something.Daniel Stenberg
If not user or password is set, they will point to a "" string.
2003-10-20allow no user and password for proxy too, BasicDaniel Stenberg
2003-10-20allow no user and no passwd when doing basic authDaniel Stenberg
2003-10-18builds warning-free with -Wshadow nowDaniel Stenberg
2003-10-18compiler warning fixDaniel Stenberg
2003-10-17make empty names look fine in verbose outputDaniel Stenberg
2003-10-17show info text (verbose) about auth type and user name in useDaniel Stenberg
2003-10-14Gisle Vanem's IPv6-on-Windows patch applied!Daniel Stenberg
2003-10-07make sure that a regular POST using the read callback worksDaniel Stenberg
2003-10-04Vincent Bronner pointed out that if you set CURLOPT_COOKIE to NULL, it stillDaniel Stenberg
sends off the previously set cookie. This also concerns CURLOPT_REFERER. This fix should stop this.
2003-09-19Markus Moeller's SPNEGO patch applied, with my edits, additions and minorDaniel Stenberg
cleanups.
2003-09-15When we issue a HTTP request, first make sure if the authentication phaseDaniel Stenberg
is over or not, as if it isn't we shall not begin any PUT or POST operation. This cures bug report #805853, and test case 88 verifies it!
2003-09-11Tim Bartley's patch that makes the GSSNEGOTIATE option work for Microsoft'sDaniel Stenberg
"Negotiate" authentication as well.
2003-09-04ah, this change broke multiple test casesDaniel Stenberg
2003-09-04Jörg pointed out that I did this fix wrongly, now authwant is clearedDaniel Stenberg
properly if no auth is available
2003-09-04Based on Joerg Mueller-Tolk's patch, this introduces support forDaniel Stenberg
CURLINFO_HTTPAUTH_AVAIL and CURLINFO_PROXYAUTH_AVAIL
2003-09-041. store the httpproxycode in the loop after it is parsedDaniel Stenberg
2. made Curl_http_auth_act() reset 'authavail' unconditionally
2003-09-04avoid proxy (and other) auth if no user+password is givenDaniel Stenberg
2003-09-03Re-arranged code to make the proxy-CONNECT loop able to do some of theDaniel Stenberg
authentication negotiations needed for NTLM, Digest etc.
2003-08-12Bugfix from Serge Semashko that fixes a bug introduced when we applied hisDaniel Stenberg
NTLM patch. Test case 84 and 85 verify this.
2003-08-11Added support for CURLINFO_HTTP_CONNECTCODEDaniel Stenberg
2003-08-11Serge Semashko added CURLOPT_PROXYAUTH support, and now NTLM for proxiesDaniel Stenberg
work.
2003-08-11support sending off cookies without contentsDaniel Stenberg
2003-08-06include "share.h" for the cookie sharingDaniel Stenberg