aboutsummaryrefslogtreecommitdiff
path: root/lib/http.h
AgeCommit message (Collapse)Author
2012-12-28lib/*.h: use our standard naming scheme for header inclusion guardsYang Tse
2011-06-03privatise: make private functions staticDaniel Stenberg
2011-04-04http-proxy: move proxy code to http_proxy.cDaniel Stenberg
The new http_proxy.* files now host HTTP proxy specific code (500+ lines moved out from http.c), and as a consequence there is a macro introduced for the Curl_proxyCONNECT() function so that code can use it without actually supporting proxy (or HTTP) in builds.
2010-07-24add_buffer_send: fix compiler warningDaniel Stenberg
Win64's 32 bit long but 64 bit size_t caused a warning that we avoid with a typecast. A small whitespace indent fix was also applied. Reported by: Adam Light
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg
2010-01-21Chris Conroy brought support for RTSP transfers, and with it comes 8(!) newDaniel Stenberg
libcurl options for controlling what to get and how to receive posssibly interleaved RTP data. Initial commit.
2010-01-07removed a parameter from the Curl_http_readwrite_headers() prototype to removeDaniel Stenberg
the need for the struct forward declaration from http.h which caused problems with gcc 2.96 and quite frankly the parameter wasn't necessary anyway
2010-01-07removed Curl_http_header_append() prototype as it isn't used anymore, theDaniel Stenberg
function was moved to http.c and was made static and renamed
2009-12-29move HTTP-specific functions to http.c where they belongDaniel Stenberg
2009-12-12split out more protocol-specific structs from urldata.h into their ownDaniel Stenberg
protocol-specific header files
2008-08-04- Test cases 1051, 1052 and 1055 were added by Daniel Fandrich on July 30 andDaniel Stenberg
proved how PUT and POST with a redirect could lead to a "hang" due to the data stream not being rewound properly when it had to in order to get sent properly (again) to the subsequent URL. This is now fixed and these test cases are no longer disabled.
2008-07-30Factored out Curl_copy_header_valueDan Fandrich
2007-10-12Added per-protocol callback static tables, replacing callback ptr storagePatrick Monnerat
in the connectdata structure by a single handler table ptr.
2007-08-27Fixed some minor type mismatches and missing consts mainly found by splint.Dan Fandrich
2007-08-26Fixed some minor mismatched types found by splint.Dan Fandrich
2007-01-27update copyright year noticeYang Tse
2007-01-16- Armel Asselin improved libcurl to behave a lot better when an easy handleDaniel Stenberg
doing an FTP transfer is removed from a multi handle before completion. The fix also fixed the "alive counter" to be correct on "premature removal" for all protocols.
2006-08-18Andrew Biggs pointed out a "Expect: 100-continue" flaw where libcurl didn'tDaniel Stenberg
send the whole request at once, even though the Expect: header was disabled by the application. An effect of this change is also that small (< 1024 bytes) POSTs are now always sent without Expect: header since we deem it more costly to bother about that than the risk that we send the data in vain.
2006-04-10First curl_multi_socket() commit. Should primarily be considered as an internalDaniel Stenberg
code rearrange to fit the future better.
2006-03-21Xavier Bouchoux made the SSL connection non-blocking for the multi interfaceDaniel Stenberg
(when using OpenSSL).
2005-07-03Andrew Bushnell provided enough info for me to tell that we badly needed toDaniel Stenberg
fix the CONNECT authentication code with multi-pass auth methods (such as NTLM) as it didn't previously properly ignore response-bodies - in fact it stopped reading after all response headers had been received. This could lead to libcurl sending the next request and reading the body from the first request as response to the second request. (I also renamed the function, which wasn't strictly necessary but...) The best fix would to once and for all make the CONNECT code use the ordinary request sending/receiving code, treating it as any ordinary request instead of the special-purpose function we have now. It should make it better for multi-interface too. And possibly lead to less code... Added test case 265 for this. It doesn't work as a _really_ good test case since the test proxy is too stupid, but the test case helps when running the debugger to verify.
2005-02-09FTP code turned into state machine. Not completely yet, but a good start.Daniel Stenberg
The tag 'before_ftp_statemachine' was set just before this commit in case of future need.
2004-11-24HTTP "auth done right". See lib/README.httpauthDaniel Stenberg
2004-11-05Tim Sneddon's VMS fix for huge HTTP POSTsDaniel Stenberg
2004-06-15Fix the auth code to enable us to i.e set DIGEST and then find out that theDaniel Stenberg
server doesn't require any auth at all and then we just continue nicely. We now have an extra bit in the connection struct named 'authprobe' that is TRUE when doing pure "HTTP authentication probing".
2004-05-12Curl_done() and the protocol-specific conn->curl_done() functions now allDaniel Stenberg
take a CURLcode as a second argument, that is non-zero when Curl_done() is called after an error was returned from Curl_do() (or similar).
2004-05-04General HTTP authentication cleanup and fixesDaniel Stenberg
2004-03-30David Byron made CURLOPT_FAILONERROR work with authentications such as NTLMDaniel Stenberg
or Digest.
2004-01-07updated year in the copyright stringDaniel 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-11Serge Semashko added CURLOPT_PROXYAUTH support, and now NTLM for proxiesDaniel Stenberg
work.
2003-01-16copyright year update in the source headerDaniel Stenberg
2002-11-28added compareheader protoDaniel Stenberg
2002-09-03updated source code boilerplate/headerDaniel Stenberg
2002-06-11added disable-[protocol] support, largely provided by Miklos NemethDaniel Stenberg
2002-03-19copyright string (year) updateDaniel Stenberg
2001-09-18removed Curl_http_close()Daniel Stenberg
2001-03-07"Transfer-Encoding: chunked" support addedDaniel Stenberg
2001-01-25modified the Curl_ConnectHTTPProxyTunnel protoDaniel Stenberg
2001-01-05Internal symbols that aren't static are now prefixed with 'Curl_'Daniel Stenberg
2001-01-03dual-license fixDaniel Stenberg
2000-09-15more "anything through http proxy tunnel" fixesDaniel Stenberg
2000-09-14introduced 'tunnel through http proxy' for ftpDaniel Stenberg
2000-07-25Added http_close()Daniel Stenberg
2000-06-20haxx.nu => haxx.seDaniel Stenberg
2000-05-22moved here from the newlib branchDaniel Stenberg
1999-12-29Initial revisionDaniel Stenberg