- Sep 29, 2007
-
-
Steinar H. Gunderson authored
There are two different places in write_tcp_data() that advance the send_queue; however, they are slightly different and only the first one properly uses a while loop. Consolidate both into a single function that DTTR. (Patch from the Google tree.)
-
Steinar H. Gunderson authored
Reject names that are longer than 255 characters, to avoid problems with strict or buggy DNS server implementations. (Patch from the Google tree)
-
Steinar H. Gunderson authored
In ares_mkquery, make sure we set buflen and buf to reasonable values if there's an error. (Patch from the Google tree)
-
Steinar H. Gunderson authored
-
Steinar H. Gunderson authored
-
- Sep 28, 2007
-
-
Daniel Stenberg authored
notifier callback(s).
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
and API changes in the progress callback (and possibly more coming up from Steinar)
-
Dan Fandrich authored
-
Steinar H. Gunderson authored
-
Steinar H. Gunderson authored
-
Steinar H. Gunderson authored
Always register for TCP events even if there are no outstanding queries, as the other side could always close the connection, which is a valid event which should be responded to.
-
Steinar H. Gunderson authored
-
Steinar H. Gunderson authored
Support a few more socket options, and refactor the option setting a bit. (Patch from the Google tree.)
-
Steinar H. Gunderson authored
Make the query callbacks return the number of timeouts that happened during the execution of a query, and update documentation accordingly. (Patch from the Google tree.)
-
Steinar H. Gunderson authored
Three fixes in one commit (sorry): a) Take care of the tcpbuf if it ends while queued for transmission, note broken servers and close them in the main loop, and store TCP socket generation number in order not to send the same query twice over the same socket.
-
Steinar H. Gunderson authored
-
- Sep 27, 2007
-
-
Dan Fandrich authored
-
Dan Fandrich authored
-
Dan Fandrich authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
is non-NULL before we FD_CLR
-
Daniel Stenberg authored
both to occur
-
Dan Fandrich authored
-
Dan Fandrich authored
variables to avoid shadowing global declarations.
-
Yang Tse authored
-
- Sep 26, 2007
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
curl_easy_setopt() that alters how libcurl functions when following redirects. It makes libcurl obey the RFC2616 when a 301 response is received after a non-GET request is made. Default libcurl behaviour is to change method to GET in the subsequent request (like it does for response code 302 - because that's what many/most browsers do), but with this CURLOPT_POST301 option enabled it will do what the spec says and do the next request using the same method again. I.e keep POST after 301. The curl tool got this option as --post301 Test case 1011 and 1012 were added to verify.
-
Daniel Stenberg authored
CURLOPT_NOBODY enabled but not CURLOPT_HEADER, libcurl wouldn't do TYPE before it does SIZE which makes it less useful. I walked over the code and made it do this properly, and added test case 542 to verify it.
-
- Sep 25, 2007
-
-
Dan Fandrich authored
-
Daniel Stenberg authored
out "written"
-
Dan Fandrich authored
-
Dan Fandrich authored
-
- Sep 24, 2007
-
-
Daniel Stenberg authored
URLs ending with a slash properly (it should list the contents of that directory). Test case 351 brought back and also test 1010 was added.
-
Daniel Stenberg authored
Debian bug report http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=443734
-
- Sep 22, 2007
-
-
Daniel Stenberg authored
several functions (write_tcp_data, read_tcp_data, read_udp_packets) so that if it fails and the socket is closed the following code doesn't try to use the file descriptor.
-
Daniel Stenberg authored
TCP is used since there are several edge cases where it still makes sense.
-
Daniel Stenberg authored
something with the ares_save_options() where it would try to do a malloc(0) when no options of that type needed to be saved. On most platforms, this was fine because malloc(0) doesn't actually return NULL, but on AIX it does, so ares_save_options would return ARES_ENOMEM.
-
- Sep 21, 2007
-
-
Daniel Stenberg authored
-