mirror of https://github.com/getdnsapi/getdns.git
set max_udp_payload_size 2 response size
This commit is contained in:
parent
b5a6fa8064
commit
9ed074e58d
|
@ -229,7 +229,9 @@ stub_udp_read_cb(void *userarg)
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
ldns_wire2pkt(&(netreq->result), netreq->response, (size_t)read);
|
netreq->max_udp_payload_size = read;
|
||||||
|
ldns_wire2pkt(&(netreq->result), netreq->response,
|
||||||
|
netreq->max_udp_payload_size);
|
||||||
dnsreq->upstreams->current = 0;
|
dnsreq->upstreams->current = 0;
|
||||||
|
|
||||||
/* TODO: DNSSEC */
|
/* TODO: DNSSEC */
|
||||||
|
|
Loading…
Reference in New Issue