mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Check repinfo in worker_handle_request, if null, drop it.
This commit is contained in:
parent
df0c844eed
commit
fa506e3cda
2 changed files with 2 additions and 1 deletions
|
|
@ -1095,7 +1095,7 @@ worker_handle_request(struct comm_point* c, void* arg, int error,
|
||||||
struct respip_client_info* cinfo = NULL, cinfo_tmp;
|
struct respip_client_info* cinfo = NULL, cinfo_tmp;
|
||||||
memset(&qinfo, 0, sizeof(qinfo));
|
memset(&qinfo, 0, sizeof(qinfo));
|
||||||
|
|
||||||
if(error != NETEVENT_NOERROR) {
|
if(error != NETEVENT_NOERROR || !repinfo) {
|
||||||
/* some bad tcp query DNS formats give these error calls */
|
/* some bad tcp query DNS formats give these error calls */
|
||||||
verbose(VERB_ALGO, "handle request called with err=%d", error);
|
verbose(VERB_ALGO, "handle request called with err=%d", error);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@
|
||||||
- Fix to return after failed auth zone http chunk write.
|
- Fix to return after failed auth zone http chunk write.
|
||||||
- Fix to remove unused test for task_probe existance.
|
- Fix to remove unused test for task_probe existance.
|
||||||
- Fix to timeval_add for remaining second in microseconds.
|
- Fix to timeval_add for remaining second in microseconds.
|
||||||
|
- Check repinfo in worker_handle_request, if null, drop it.
|
||||||
|
|
||||||
29 July 2019: Wouter
|
29 July 2019: Wouter
|
||||||
- Add verbose log message when auth zone file is written, at level 4.
|
- Add verbose log message when auth zone file is written, at level 4.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue