aboutsummaryrefslogtreecommitdiff
path: root/lib/http.c
AgeCommit message (Collapse)Author
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
2002-04-15This makes formposting with a specified file missing fail. curl_easy_performDaniel Stenberg
will then return CURLE_READ_ERROR.
2002-04-12the HTTP request is a CURLINFO_HEADER_OUTDaniel Stenberg
2002-04-12Jean-Philippe Barrette-LaPierre provided his patch that introducesDaniel Stenberg
CURLOPT_DEBUGFUNCTION and CURLOPT_DEBUGDATA.
2002-04-10error code cleanup, use the new SEND/RECV errorsDaniel Stenberg
2002-03-19copyright string (year) updateDaniel Stenberg
2002-03-14if CURLOPT_POSTFIELDS isn't set, but CURLOPT_POST is, we will assume thatDaniel Stenberg
we should read the POST-data from the read callback
2002-02-18Philip Gladstone's size problem in add_buffer_send()Daniel Stenberg
2002-02-17corrected the Expect: ignore, made Content-Type: possible to skipDaniel Stenberg
2002-02-07don't add 2 to the post size, that was a previous mistake because thereDaniel Stenberg
was an extra CRLF added to the post data
2002-01-29append a CRLF pair after the content-type lineDaniel Stenberg
2002-01-27no longer add CRLF _after_ POST data, it should not be needed. Pedro NevesDaniel Stenberg
pointed out this ugliness.
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-14Curl_read() now returns a negative return code if EWOULDBLOCK or similarDaniel Stenberg
2001-12-11failf() calls should not have newlines in the message string!Daniel Stenberg
2001-12-07corrected the comment above gmtime_rDaniel Stenberg
2001-12-07added gmtime_r checkDaniel Stenberg
2001-11-16Klevtsov Vadim's time condition fixDaniel Stenberg
2001-11-13my proxytunnel fix accidentally ruined the normal https connectsDaniel Stenberg
2001-11-12made CURLOPT_HTTPPROXYTUNNEL work for plain HTTP as wellDaniel Stenberg
2001-11-12new Curl_ConnectHTTPProxyTunnel() function, needs a **lot** of testing!!!Daniel Stenberg
2001-10-31Added better checking of return codes when we send data to sockets/connectionsDaniel Stenberg
2001-10-19now counts header size return from server and if nothing is returned from aDaniel Stenberg
HTTP server we return error
2001-10-11looks nicer and is better compatible with older vim versionsSterling Hughes
2001-10-09added the option CURLOPT_HTTP_VERSION that can specify which HTTP versionDaniel Stenberg
libcurl should use in its request
2001-09-18modified GetLine(), removed Curl_http_close()Daniel Stenberg
2001-09-07Added formatting sections for emacs and vimSterling Hughes
2001-08-30Major rename and redesign of the internal "backbone" structs. Details willDaniel Stenberg
be posted in a minute to the libcurl list.
2001-08-21Georg Huettenegger's patch curl-7.8.1-pre5-patch-20010819Daniel Stenberg
2001-08-17modified to use the renamed kerberos functions with Curl_ prefixDaniel Stenberg
2001-08-15Using CURLOPT_POST without using CURLOPT_POSTFIELDS caused us to strlen()Daniel Stenberg
a NULL pointer. Now, we treat a missing CURLOPT_POSTFIELDS as if there is no data to send.
2001-08-14made some char * into const char * and I removed the check for size > 0Daniel Stenberg
in the add_buffer function.