aboutsummaryrefslogtreecommitdiff
path: root/lib/http.c
AgeCommit message (Collapse)Author
2003-08-04Dirk Manske's patch that introduces cookie support to the share interface.Daniel Stenberg
2003-08-02When proxy authentication is used in a CONNECT request (as used for all SSLDaniel Stenberg
connects and otherwise enforced tunnel-thru-proxy requests), the same authentication header is also wrongly sent to the remote host. The name and password can then be captured by an evil host and possibly get used for malicious purposes.
2003-07-28clear http->send_buffer when we have freed the memory it pointed toDaniel Stenberg
2003-07-25Removed #include <sys/resource.h>, as pointed out by Henry Bland we don'tDaniel Stenberg
need it.
2003-07-21moved the proxyuser and proxypasswd fields from the sessionhandle to theDaniel Stenberg
connectdata to work as expected
2003-07-19Access the user and passwd fields from the connectdata struct now insteadDaniel Stenberg
of the sessionhandle struct, as that was not good.
2003-07-04Peter Sylvester's patch was applied that introduces the following:Daniel Stenberg
CURLOPT_SSL_CTX_FUNCTION to set a callback that gets called with the OpenSSL's ssl_ctx pointer passed in and allow a callback to act on it. If anything but CURLE_OK is returned, that will also be returned by libcurl all the way back. If this function changes the CURLOPT_URL, libcurl will detect this and instead go use the new URL. CURLOPT_SSL_CTX_DATA is a pointer you set to get passed to the callback set with CURLOPT_SSL_CTX_FUNCTION.
2003-06-26major adjustments to the new authentication supportDaniel Stenberg
2003-06-12CURLHTTP* renamed to CURLAUTH* and NEGOTIATE is now GSSNEGOTIATE as there'sDaniel Stenberg
a "plain" Negotiate as well.
2003-06-11Initial take at NTLM authentication. It doesn't really work at this pointDaniel Stenberg
but the infrastructure is there.
2003-06-10Daniel Kouril's patch that adds HTTP negotiation support to libcurl wasDaniel Stenberg
added.
2003-06-06When doing very big GET requests over HTTPS, we need to add some extraDaniel Stenberg
funky logic in order to make re-tries work fine with OpenSSL. This corrects the problem David Orrell noticed.
2003-05-28Posting static data using POST and chunked encoded now also appends theDaniel Stenberg
data to the initial request buffer, if the total post data is less than 100K.
2003-05-27Rudy Koento experienced problems with curl's recent habit of POSTing data inDaniel Stenberg
two separate send() calls, first the headers and then the data. I've now made a fix that for static and known content that isn't to be chunked-encoded, everything is now sent in one single system call again. This is also better for network performance reasons.
2003-05-27Another socks5-fix. Make sure that when we use a socks-proxy, it is not theDaniel Stenberg
same as using a httpproxy so we must make sure to better check for http proxies before we do HTTP proxy stuff. This included authorization and URI usage in the request etc.
2003-05-22warning-free is betterDaniel Stenberg
2003-05-22Better Digest stuffDaniel Stenberg
2003-05-22Initial Digest support. At least partly working.Daniel Stenberg
2003-05-12incoming proxy headers shall be sent to the debug function has HEADERs notDaniel Stenberg
DATA
2003-05-02If there is a custom Host: header specified, we use that host name toDaniel Stenberg
extract the correct set of cookies to send. This functionality is verified by test case 62.
2003-04-30stop parsing Host: host names at colons tooDaniel Stenberg
2003-04-30extract host name from custom Host: headers to use for cookiesDaniel Stenberg
2003-03-31Guillaume Cottenceau's patch that adds CURLOPT_UNRESTRICTED_AUTH thatDaniel Stenberg
disables the host name check in the FOLLOWLOCATION code. With that option set, libcurl will send user+password to all hosts.
2003-03-16Juan F. Codagnone pointed out a missing thing from the march 2 fixDaniel Stenberg
2003-03-03Added typecast to please the MSVC compiler.Daniel Stenberg
2003-03-02Init postdata properly before issuing a request, so that there isn't anyDaniel Stenberg
lingering POST-stuff that confuses GET requests. Juan F. Codagnone reported this problem in bug report #653859.
2003-02-24Fixes to bring back the the "Expect: 100-continue" functionality. If theDaniel Stenberg
header is used, we must wait for a 100-code (or timeout), before we send the data. The timeout is merely 1000 ms at this point. We may have reason to set a longer timeout in the future.
2003-01-29removed the local variables for emacs and vim, use the new sample.emacsDaniel Stenberg
way for emacs, and vim users should provide a similar non-polluting style
2003-01-16copyright year update in the source headerDaniel Stenberg
2002-12-10The initial HTTP request can now be sent in multiple parts, as part of theDaniel Stenberg
regular transfer process. This required some new tweaks, like for example we need to be able to tell the tranfer loop to not chunky-encode uploads while we're transferring the rest of the request...
2002-12-09A normal POST now provides data to the main transfer loop via the usualDaniel Stenberg
read callback, and thus won't put a lot of stress on the request sending code (which currently does an ugly loop).
2002-12-09The fread() callback pointer and associated pointer is now stored in theDaniel Stenberg
connectdata struct instead, and is no longer modified within the 'set' struct as previously (which was a really BAAAD thing).
2002-12-01only use Content-Length: header if not transfering data chunkedDaniel Stenberg
2002-11-28Moved the compareheader function into this file and added Curl_ prefixDaniel Stenberg
We now check if the chunked transfer-encoding header has been added "by force" and if so, we enabled the chunky upload!
2002-11-26Dan Becker fixed a minor memory leak on persistent connnections usingDaniel Stenberg
FOLLOWLOCATION and CURLOPT_USERPWD.
2002-11-11moved the bools in the connectdata struct into the substruct namedDaniel Stenberg
ConnectBits where the other bools already are
2002-11-11Now supports "Transfer-Encoding: chunked" for HTTP PUT operations where theDaniel Stenberg
size of the uploaded file is unknown.
2002-10-10Jeff Lawson fixed a few problems with connection re-use that remained whenDaniel Stenberg
you set CURLOPT_PROXY to "".
2002-09-25make sure we free rangeline before we re-assign it to a new allocatedDaniel Stenberg
memory as otherwise we (might) leak memory
2002-09-23removed use of extra unneeded variableDaniel Stenberg
2002-09-13better deal with HTTP(S) servers that respond with no headers at all, testDaniel Stenberg
case 306 added to verify that we do right
2002-09-11Lukasz Czekierda correctly pointed out that curl used a bad Host: headerDaniel Stenberg
when talking to a IPv6-server using IPv6 IP address only.
2002-09-03updated source code boilerplate/headerDaniel Stenberg
2002-09-02James Gallagher's Content-Encoding workDaniel Stenberg
2002-08-30SOCKS5 support added (contributed by a still unnamed person). Not properlyDaniel Stenberg
working for "IPv6 enabled" libcurls yet, but should be pretty easy for someone to adjust.
2002-08-26Andrew Francis removed the need for/use of MSVC pragmasDaniel Stenberg
2002-06-11added disable-[protocol] support, largely provided by Miklos NemethDaniel Stenberg
2002-06-11make sure data->set.postfields is non-NULL before doing strlen() on theDaniel Stenberg
pointer. Bugs item #566835.
2002-06-03T. Bharath made the request size add up as it is documented to do.Daniel Stenberg
2002-04-22renamed the TIMECOND defines to be CURL_ prefixedDaniel Stenberg