mirror of
https://github.com/NLnetLabs/unbound.git
synced 2024-09-21 14:47:09 +00:00
- Fix to return after failed auth zone http chunk write.
- Fix to remove unused test for task_probe existance.
This commit is contained in:
parent
21f740d313
commit
199e6c586b
@ -1,6 +1,8 @@
|
|||||||
1 August 2019: Wouter
|
1 August 2019: Wouter
|
||||||
- For #52 #53, second context does not close logfile override.
|
- For #52 #53, second context does not close logfile override.
|
||||||
- Fix #52 #53, fix for example fail program.
|
- Fix #52 #53, fix for example fail program.
|
||||||
|
- Fix to return after failed auth zone http chunk write.
|
||||||
|
- Fix to remove unused test for task_probe existance.
|
||||||
|
|
||||||
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.
|
||||||
|
@ -4887,6 +4887,7 @@ xfr_write_after_update(struct auth_xfer* xfr, struct module_env* env)
|
|||||||
if(!auth_zone_write_chunks(xfr, tmpfile)) {
|
if(!auth_zone_write_chunks(xfr, tmpfile)) {
|
||||||
unlink(tmpfile);
|
unlink(tmpfile);
|
||||||
lock_rw_unlock(&z->lock);
|
lock_rw_unlock(&z->lock);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
} else if(!auth_zone_write_file(z, tmpfile)) {
|
} else if(!auth_zone_write_file(z, tmpfile)) {
|
||||||
unlink(tmpfile);
|
unlink(tmpfile);
|
||||||
@ -6568,7 +6569,7 @@ xfr_set_timeout(struct auth_xfer* xfr, struct module_env* env,
|
|||||||
/* don't lookup_only, if lookup timeout is 0 anyway,
|
/* don't lookup_only, if lookup timeout is 0 anyway,
|
||||||
* or if we don't have masters to lookup */
|
* or if we don't have masters to lookup */
|
||||||
tv.tv_sec = 0;
|
tv.tv_sec = 0;
|
||||||
if(xfr->task_probe && xfr->task_probe->worker == NULL)
|
if(xfr->task_probe->worker == NULL)
|
||||||
xfr->task_probe->only_lookup = 1;
|
xfr->task_probe->only_lookup = 1;
|
||||||
}
|
}
|
||||||
if(verbosity >= VERB_ALGO) {
|
if(verbosity >= VERB_ALGO) {
|
||||||
|
Loading…
Reference in New Issue
Block a user