mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-04 17:24:47 -04:00
A TCP DNS client may send its queries in chunks, causing StreamReader.read() to return less data than previously declared by the client as the DNS message length; even the two-octet DNS message length itself may be split up into two single-octet transmissions. Sending data in chunks is valid client behavior that should not be treated as an error. Add a new helper method for reading TCP data in a loop, properly distinguishing between chunked queries and client disconnections. Use the new method for reading all TCP data from clients. |
||
|---|---|---|
| .. | ||
| check | ||
| confgen | ||
| delv | ||
| dig | ||
| dnssec | ||
| named | ||
| nsupdate | ||
| plugins | ||
| rndc | ||
| tests | ||
| tools | ||
| Makefile.am | ||