- Oct 01, 2007
-
-
Daniel Stenberg authored
in as argument!
-
- Sep 30, 2007
-
-
Yang Tse authored
-
Yang Tse authored
-
Yang Tse authored
-
Steinar H. Gunderson authored
-
- Sep 29, 2007
-
-
Steinar H. Gunderson authored
-
Steinar H. Gunderson authored
-
Steinar H. Gunderson authored
outstanding queries, and processing a DNS response packet was O(n) in the number of outstanding queries. To speed things up in Google, we added a few circular, doubly-linked lists of queries that are hash-bucketed based on the attributes we care about, so most important operations are now O(1). It might be that the number of buckets are higher than most people would need, but on a quick calculation it should only be 100kB or so even on a 64-bit system, so I've let it stay as-is.
-
Gisle Vanem authored
-
Gisle Vanem authored
-
Steinar H. Gunderson authored
-
Steinar H. Gunderson authored
Read and process as many packets as possible in read_udp_packets, to avoid having to run the entire event loop once per packet. (Patch from the Google tree.)
-
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
-
Daniel Stenberg authored
and API changes in the progress callback (and possibly more coming up from Steinar)
-
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
-
-
Daniel Stenberg authored
is non-NULL before we FD_CLR
-
Daniel Stenberg authored
both to occur
-
- 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.
-
- Jul 26, 2007
-
-
Daniel Stenberg authored
-
- Jul 20, 2007
-
-
Guenter Knauf authored
-
- Jul 14, 2007
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
- Jul 08, 2007
-
-
Guenter Knauf authored
-
- Jul 07, 2007
-
-
Guenter Knauf authored
-