--- 9.1.0b3 released ---
+ 666. [bug] If a request sent by dig is longer than 512 bytes,
+ use TCP.
+
661. [bug] Certain UDP IXFR requests caused an assertion failure
(mpctx->allocated == 0). [RT #355, #394, #623]
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: dighost.c,v 1.174 2000/12/11 19:15:45 bwelling Exp $ */
+/* $Id: dighost.c,v 1.174.2.1 2001/01/08 20:59:55 gson Exp $ */
/*
* Notice to programmers: Do not use this code as an example of how to
check_result(result, "dns_message_renderend");
debug("done rendering");
+ /*
+ * Force TCP mode if the request is larger than 512 bytes.
+ */
+ if (isc_buffer_usedlength(&lookup->sendbuf) > 512)
+ lookup->tcp_mode = ISC_TRUE;
+
lookup->pending = ISC_FALSE;
for (serv = ISC_LIST_HEAD(lookup->my_server_list);