mirror of https://github.com/getdnsapi/getdns.git
working prototype 4
This commit is contained in:
parent
25f7f2182b
commit
2d20e18b8a
|
@ -118,7 +118,6 @@ network_req_init(getdns_network_req *net_req, getdns_dns_req *owner,
|
|||
net_req->debug_start_time = 0;
|
||||
net_req->debug_end_time = 0;
|
||||
net_req->debug_tls_auth_status = 0;
|
||||
net_req->debug_upstream = NULL;
|
||||
|
||||
net_req->wire_data_sz = wire_data_sz;
|
||||
if (max_query_sz) {
|
||||
|
|
|
@ -1276,8 +1276,6 @@ stub_udp_write_cb(void *userarg)
|
|||
dnsreq->loop, netreq->fd, dnsreq->context->timeout,
|
||||
getdns_eventloop_event_init(&netreq->event, netreq,
|
||||
stub_udp_read_cb, NULL, stub_timeout_cb));
|
||||
|
||||
netreq->debug_upstream = netreq->upstream;
|
||||
}
|
||||
|
||||
/**************************/
|
||||
|
@ -1345,7 +1343,6 @@ stub_tcp_write_cb(void *userarg)
|
|||
dnsreq->loop, netreq->fd, dnsreq->context->timeout,
|
||||
getdns_eventloop_event_init(&netreq->event, netreq,
|
||||
stub_tcp_read_cb, NULL, stub_timeout_cb));
|
||||
netreq->debug_upstream = netreq->upstream;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -1480,7 +1477,6 @@ upstream_write_cb(void *userarg)
|
|||
return;
|
||||
|
||||
default:
|
||||
netreq->debug_upstream = netreq->upstream;
|
||||
/* Need this because auth status is reset on connection clode */
|
||||
netreq->debug_tls_auth_status = netreq->upstream->tls_auth_failed;
|
||||
upstream->writes_done++;
|
||||
|
|
|
@ -230,7 +230,6 @@ typedef struct getdns_network_req
|
|||
uint64_t debug_start_time;
|
||||
uint64_t debug_end_time;
|
||||
size_t debug_tls_auth_status;
|
||||
struct getdns_upstream *debug_upstream;
|
||||
|
||||
/* When more space is needed for the wire_data response than is
|
||||
* available in wire_data[], it will be allocated seperately.
|
||||
|
|
Loading…
Reference in New Issue