aboutsummaryrefslogtreecommitdiff
path: root/lib/http.c
AgeCommit message (Collapse)Author
2004-06-03updated a commentDaniel Stenberg
2004-06-03Alexander Krasnostavsky's FTP third party transfer (proxy) supportDaniel Stenberg
2004-05-26Added a new 'bit' in the connect struct named 'tunnel_proxy' that is setDaniel Stenberg
if a connection is tunneled through a proxy. A tunnel is done with CONNECT, either when using HTTPS or FTPS, or if explicitly enabled by the app.
2004-05-24Robert D. Young reported that CURLOPT_COOKIEFILE and CURLOPT_COOKIE couldDaniel Stenberg
not be used both in one request. Fixed it and added test case 172 to verify.
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-11curl_global_init_mem() allows the memory functions to be replaced.Daniel Stenberg
memory.h is included everywhere for this.
2004-05-10Moved the fetching of the list of matching cookies to make it easier to freeDaniel Stenberg
that list in case something goes wrong in the function and we must bail out. Courtesy of the torture testing.
2004-05-10typoDaniel Stenberg
2004-05-10better detection for when add_buffer() returns failure, and return when thatDaniel Stenberg
happens
2004-05-05initiate variables properly to default to no auth for server and proxyDaniel Stenberg
2004-05-04bail out when an add_buffer() function returns failureDaniel Stenberg
2004-05-04check malloc() return codeDaniel Stenberg
2004-05-04General HTTP authentication cleanup and fixesDaniel Stenberg
2004-04-29fixed the host/proxy name issue when re-using a connection and made IDN namesDaniel Stenberg
work when using proxy by converting the IDN-name to the ACE-encoded version before the request-URL is passed to the proxy.
2004-04-27Made host name and proxy name get stored in a 'struct hostname' and setDaniel Stenberg
all things up to work with encoded host names internally, as well as keeping 'display names' to show in debug messages. IDN resolves work for me now using ipv6, ipv4 and ares resolving. Even cookies on IDN sites seem to do right.
2004-04-26IDN adjustments and host cleanups by GisleDaniel Stenberg
2004-04-23Replaced Curl_FormReadOneLine with Curl_formpostheader as that is the only useDaniel Stenberg
for it. It saves one extra copy of the header. I also added comments for several functions in formdata.c
2004-04-22missing braceDaniel Stenberg
2004-04-22- David Byron found and fixed a small bug with the --fail and authenticationDaniel Stenberg
stuff added a few weeks ago. Turns out that if you specify --proxy-ntlm and communicate with a proxy that requires basic authentication, the proxy properly returns a 407, but the failure detection code doesn't realize it should give up, so curl returns with exit code 0. Test case 162 verifies this.
2004-04-22Added commentsDaniel Stenberg
2004-04-20Cleaned up hostname/name/gname and path/ppath confusion. Removed the fixed-Daniel Stenberg
length limit of the hostname part of the URL.
2004-04-13remove an long time #defined struct member and use the actual "real" nameDaniel Stenberg
instead to make it easier to find/read
2004-04-07getting only a 100 Continue response and nothing else, when talking HTTP,Daniel Stenberg
is now treated as an error by libcurl
2004-04-06New authentication code added, particularly noticable when doing POST or PUTDaniel Stenberg
with Digest or NTLM. libcurl will now use HEAD to negotiate the authentication and when done perform the requested POST.
2004-03-30adjusted to the new dns cache function to hide more hostip internalsDaniel Stenberg
2004-03-30if 0'ed out a code section that uses __FUNCTION__ etc, used for debuggingDaniel Stenberg
the new "fail with auth" code
2004-03-30David Byron made CURLOPT_FAILONERROR work with authentications such as NTLMDaniel Stenberg
or Digest.
2004-03-14fix signed and unsigned warningsDaniel Stenberg
2004-03-13postsize is off_t now, so we typecase it to int before doing normal printfDaniel Stenberg
with it (knowing it won't be larger than what fits in an int)
2004-03-13the postsize is an off_t so use the proper printf format to output theDaniel Stenberg
content-length when doing multipart posts
2004-03-12more variable type fixing for the huge postsDaniel Stenberg
2004-03-12more variable type fixes for the large POST supportDaniel Stenberg
2004-03-12Made the 'postsize' variable an off_t type to be able to hold large fileDaniel Stenberg
sizes if desired
2004-03-10Use more curl_off_t variables when doing the progress meter calculations andDaniel Stenberg
argument passing and try to convert to double only when providing data to the external world.
2004-03-10curl_socket_t mistakes cleanupDaniel Stenberg
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.