summaryrefslogtreecommitdiff
path: root/lib/http.h
Commit message (Collapse)AuthorAgeFilesLines
* Revert changes relative to lib/*.[ch] recent renamingYang Tse2013-01-061-0/+171
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts renaming and usage of lib/*.h header files done 28-12-2012, reverting 2 commits: f871de0... build: make use of 76 lib/*.h renamed files ffd8e12... build: rename 76 lib/*.h files This also reverts removal of redundant include guard (redundant thanks to changes in above commits) done 2-12-2013, reverting 1 commit: c087374... curl_setup.h: remove redundant include guard This also reverts renaming and usage of lib/*.c source files done 3-12-2013, reverting 3 commits: 13606bb... build: make use of 93 lib/*.c renamed files 5b6e792... build: rename 93 lib/*.c files 7d83dff... build: commit 13606bbfde follow-up 1 Start of related discussion thread: http://curl.haxx.se/mail/lib-2013-01/0012.html Asking for confirmation on pushing this revertion commit: http://curl.haxx.se/mail/lib-2013-01/0048.html Confirmation summary: http://curl.haxx.se/mail/lib-2013-01/0079.html NOTICE: The list of 2 files that have been modified by other intermixed commits, while renamed, and also by at least one of the 6 commits this one reverts follows below. These 2 files will exhibit a hole in history unless git's '--follow' option is used when viewing logs. lib/curl_imap.h lib/curl_smtp.h
* build: rename 76 lib/*.h filesYang Tse2012-12-281-171/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 76 private header files renamed to use our standard naming scheme. This commit only does the file renaming. ---------------------------------------- renamed: amigaos.h -> curl_amigaos.h renamed: arpa_telnet.h -> curl_arpa_telnet.h renamed: asyn.h -> curl_asyn.h renamed: axtls.h -> curl_axtls.h renamed: bundles.h -> curl_bundles.h renamed: conncache.h -> curl_conncache.h renamed: connect.h -> curl_connect.h renamed: content_encoding.h -> curl_content_encoding.h renamed: cookie.h -> curl_cookie.h renamed: cyassl.h -> curl_cyassl.h renamed: dict.h -> curl_dict.h renamed: easyif.h -> curl_easyif.h renamed: escape.h -> curl_escape.h renamed: file.h -> curl_file.h renamed: fileinfo.h -> curl_fileinfo.h renamed: formdata.h -> curl_formdata.h renamed: ftp.h -> curl_ftp.h renamed: ftplistparser.h -> curl_ftplistparser.h renamed: getinfo.h -> curl_getinfo.h renamed: gopher.h -> curl_gopher.h renamed: gtls.h -> curl_gtls.h renamed: hash.h -> curl_hash.h renamed: hostcheck.h -> curl_hostcheck.h renamed: hostip.h -> curl_hostip.h renamed: http.h -> curl_http.h renamed: http_chunks.h -> curl_http_chunks.h renamed: http_digest.h -> curl_http_digest.h renamed: http_negotiate.h -> curl_http_negotiate.h renamed: http_proxy.h -> curl_http_proxy.h renamed: if2ip.h -> curl_if2ip.h renamed: imap.h -> curl_imap.h renamed: inet_ntop.h -> curl_inet_ntop.h renamed: inet_pton.h -> curl_inet_pton.h renamed: krb4.h -> curl_krb4.h renamed: llist.h -> curl_llist.h renamed: memdebug.h -> curl_memdebug.h renamed: multiif.h -> curl_multiif.h renamed: netrc.h -> curl_netrc.h renamed: non-ascii.h -> curl_non-ascii.h renamed: nonblock.h -> curl_nonblock.h renamed: nssg.h -> curl_nssg.h renamed: parsedate.h -> curl_parsedate.h renamed: pingpong.h -> curl_pingpong.h renamed: polarssl.h -> curl_polarssl.h renamed: pop3.h -> curl_pop3.h renamed: progress.h -> curl_progress.h renamed: qssl.h -> curl_qssl.h renamed: rawstr.h -> curl_rawstr.h renamed: rtsp.h -> curl_rtsp.h renamed: select.h -> curl_select.h renamed: sendf.h -> curl_sendf.h renamed: setup.h -> curl_setup.h renamed: setup_once.h -> curl_setup_once.h renamed: share.h -> curl_share.h renamed: slist.h -> curl_slist.h renamed: smtp.h -> curl_smtp.h renamed: sockaddr.h -> curl_sockaddr.h renamed: socks.h -> curl_socks.h renamed: speedcheck.h -> curl_speedcheck.h renamed: splay.h -> curl_splay.h renamed: ssh.h -> curl_ssh.h renamed: sslgen.h -> curl_sslgen.h renamed: ssluse.h -> curl_ssluse.h renamed: strdup.h -> curl_strdup.h renamed: strequal.h -> curl_strequal.h renamed: strerror.h -> curl_strerror.h renamed: strtok.h -> curl_strtok.h renamed: strtoofft.h -> curl_strtoofft.h renamed: telnet.h -> curl_telnet.h renamed: tftp.h -> curl_tftp.h renamed: timeval.h -> curl_timeval.h renamed: transfer.h -> curl_transfer.h renamed: url.h -> curl_url.h renamed: urldata.h -> curl_urldata.h renamed: warnless.h -> curl_warnless.h renamed: wildcard.h -> curl_wildcard.h ----------------------------------------
* lib/*.h: use our standard naming scheme for header inclusion guardsYang Tse2012-12-281-4/+4
|
* privatise: make private functions staticDaniel Stenberg2011-06-031-5/+0
|
* http-proxy: move proxy code to http_proxy.cDaniel Stenberg2011-04-041-7/+22
| | | | | | | 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.
* add_buffer_send: fix compiler warningDaniel Stenberg2010-07-241-5/+4
| | | | | | | 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
* remove the CVSish $Id$ linesDaniel Stenberg2010-03-241-1/+0
|
* Chris Conroy brought support for RTSP transfers, and with it comes 8(!) newDaniel Stenberg2010-01-211-0/+32
| | | | | libcurl options for controlling what to get and how to receive posssibly interleaved RTP data. Initial commit.
* removed a parameter from the Curl_http_readwrite_headers() prototype to removeDaniel Stenberg2010-01-071-3/+0
| | | | | 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
* removed Curl_http_header_append() prototype as it isn't used anymore, theDaniel Stenberg2010-01-071-5/+1
| | | | function was moved to http.c and was made static and renamed
* move HTTP-specific functions to http.c where they belongDaniel Stenberg2009-12-291-0/+12
|
* split out more protocol-specific structs from urldata.h into their ownDaniel Stenberg2009-12-121-2/+37
| | | | protocol-specific header files
* - Test cases 1051, 1052 and 1055 were added by Daniel Fandrich on July 30 andDaniel Stenberg2008-08-041-1/+2
| | | | | | | 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.
* Factored out Curl_copy_header_valueDan Fandrich2008-07-301-0/+2
|
* Added per-protocol callback static tables, replacing callback ptr storagePatrick Monnerat2007-10-121-4/+7
| | | | in the connectdata structure by a single handler table ptr.
* Fixed some minor type mismatches and missing consts mainly found by splint.Dan Fandrich2007-08-271-2/+2
|
* Fixed some minor mismatched types found by splint.Dan Fandrich2007-08-261-2/+2
|
* update copyright year noticeYang Tse2007-01-271-1/+1
|
* - Armel Asselin improved libcurl to behave a lot better when an easy handleDaniel Stenberg2007-01-161-1/+1
| | | | | | 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.
* Andrew Biggs pointed out a "Expect: 100-continue" flaw where libcurl didn'tDaniel Stenberg2006-08-181-1/+5
| | | | | | | | 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.
* First curl_multi_socket() commit. Should primarily be considered as an internalDaniel Stenberg2006-04-101-5/+4
| | | | code rearrange to fit the future better.
* Xavier Bouchoux made the SSL connection non-blocking for the multi interfaceDaniel Stenberg2006-03-211-0/+5
| | | | (when using OpenSSL).
* Andrew Bushnell provided enough info for me to tell that we badly needed toDaniel Stenberg2005-07-031-3/+3
| | | | | | | | | | | | | | | | | | 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.
* FTP code turned into state machine. Not completely yet, but a good start.Daniel Stenberg2005-02-091-3/+3
| | | | | The tag 'before_ftp_statemachine' was set just before this commit in case of future need.
* HTTP "auth done right". See lib/README.httpauthDaniel Stenberg2004-11-241-6/+13
|
* Tim Sneddon's VMS fix for huge HTTP POSTsDaniel Stenberg2004-11-051-0/+9
|
* Fix the auth code to enable us to i.e set DIGEST and then find out that theDaniel Stenberg2004-06-151-5/+12
| | | | | | 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".
* Curl_done() and the protocol-specific conn->curl_done() functions now allDaniel Stenberg2004-05-121-1/+1
| | | | | 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).
* General HTTP authentication cleanup and fixesDaniel Stenberg2004-05-041-3/+3
|
* David Byron made CURLOPT_FAILONERROR work with authentications such as NTLMDaniel Stenberg2004-03-301-0/+4
| | | | or Digest.
* updated year in the copyright stringDaniel Stenberg2004-01-071-1/+1
|
* Re-arranged code to make the proxy-CONNECT loop able to do some of theDaniel Stenberg2003-09-031-0/+3
| | | | authentication negotiations needed for NTLM, Digest etc.
* Serge Semashko added CURLOPT_PROXYAUTH support, and now NTLM for proxiesDaniel Stenberg2003-08-111-0/+1
| | | | work.
* copyright year update in the source headerDaniel Stenberg2003-01-161-1/+1
|
* added compareheader protoDaniel Stenberg2002-11-281-0/+4
|
* updated source code boilerplate/headerDaniel Stenberg2002-09-031-7/+7
|
* added disable-[protocol] support, largely provided by Miklos NemethDaniel Stenberg2002-06-111-2/+2
|
* copyright string (year) updateDaniel Stenberg2002-03-191-1/+1
|
* removed Curl_http_close()Daniel Stenberg2001-09-181-1/+0
|
* "Transfer-Encoding: chunked" support addedDaniel Stenberg2001-03-071-0/+5
|
* modified the Curl_ConnectHTTPProxyTunnel protoDaniel Stenberg2001-01-251-1/+2
|
* Internal symbols that aren't static are now prefixed with 'Curl_'Daniel Stenberg2001-01-051-6/+6
|
* dual-license fixDaniel Stenberg2001-01-031-28/+11
|
* more "anything through http proxy tunnel" fixesDaniel Stenberg2000-09-151-1/+2
|
* introduced 'tunnel through http proxy' for ftpDaniel Stenberg2000-09-141-1/+3
|
* Added http_close()Daniel Stenberg2000-07-251-0/+3
|
* haxx.nu => haxx.seDaniel Stenberg2000-06-201-2/+2
|
* moved here from the newlib branchDaniel Stenberg2000-05-221-1/+4
|
* Initial revisionDaniel Stenberg1999-12-291-0/+45