mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
2070. [bug] The remote address was not always displayed when
reporting dispatch failures. [RT #16315]
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -1,3 +1,6 @@
|
|||||||
|
2070. [bug] The remote address was not always displayed when
|
||||||
|
reporting dispatch failures. [RT #16315]
|
||||||
|
|
||||||
2069. [bug] Cross compiling was not working. [RT #16330]
|
2069. [bug] Cross compiling was not working. [RT #16330]
|
||||||
|
|
||||||
2068. [cleanup] Lower incremental tuning message to debug 1.
|
2068. [cleanup] Lower incremental tuning message to debug 1.
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: tcpmsg.c,v 1.27 2005/04/29 00:22:52 marka Exp $ */
|
/* $Id: tcpmsg.c,v 1.28 2006/08/10 01:38:15 marka Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
@@ -54,6 +54,7 @@ recv_length(isc_task_t *task, isc_event_t *ev_in) {
|
|||||||
INSIST(VALID_TCPMSG(tcpmsg));
|
INSIST(VALID_TCPMSG(tcpmsg));
|
||||||
|
|
||||||
dev = &tcpmsg->event;
|
dev = &tcpmsg->event;
|
||||||
|
tcpmsg->address = ev->address;
|
||||||
|
|
||||||
if (ev->result != ISC_R_SUCCESS) {
|
if (ev->result != ISC_R_SUCCESS) {
|
||||||
tcpmsg->result = ev->result;
|
tcpmsg->result = ev->result;
|
||||||
@@ -110,6 +111,7 @@ recv_message(isc_task_t *task, isc_event_t *ev_in) {
|
|||||||
INSIST(VALID_TCPMSG(tcpmsg));
|
INSIST(VALID_TCPMSG(tcpmsg));
|
||||||
|
|
||||||
dev = &tcpmsg->event;
|
dev = &tcpmsg->event;
|
||||||
|
tcpmsg->address = ev->address;
|
||||||
|
|
||||||
if (ev->result != ISC_R_SUCCESS) {
|
if (ev->result != ISC_R_SUCCESS) {
|
||||||
tcpmsg->result = ev->result;
|
tcpmsg->result = ev->result;
|
||||||
@@ -118,7 +120,6 @@ recv_message(isc_task_t *task, isc_event_t *ev_in) {
|
|||||||
|
|
||||||
tcpmsg->result = ISC_R_SUCCESS;
|
tcpmsg->result = ISC_R_SUCCESS;
|
||||||
isc_buffer_add(&tcpmsg->buffer, ev->n);
|
isc_buffer_add(&tcpmsg->buffer, ev->n);
|
||||||
tcpmsg->address = ev->address;
|
|
||||||
|
|
||||||
XDEBUG(("Received %d bytes (of %d)\n", ev->n, tcpmsg->size));
|
XDEBUG(("Received %d bytes (of %d)\n", ev->n, tcpmsg->size));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user