mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix assertion failure on double callback when iterator loses
interest in query at head of line that then has the tcp stream not kept for reuse.
This commit is contained in:
parent
56a80fbbf4
commit
e4bdc527ba
2 changed files with 6 additions and 3 deletions
|
|
@ -1,3 +1,8 @@
|
|||
30 November 2020: Wouter
|
||||
- Fix assertion failure on double callback when iterator loses
|
||||
interest in query at head of line that then has the tcp stream
|
||||
not kept for reuse.
|
||||
|
||||
27 November 2020: Wouter
|
||||
- Fix compile warning for type cast in http2_submit_dns_response.
|
||||
- Fix when use free buffer to initialize rbtree for stream reuse.
|
||||
|
|
|
|||
|
|
@ -2321,9 +2321,7 @@ reuse_tcp_remove_serviced_keep(struct waiting_tcp* w,
|
|||
* the stream itself. also keep it as an entry in the tree_by_id,
|
||||
* in case the answer returns (that we no longer want), but we cannot
|
||||
* pick the same ID number meanwhile */
|
||||
if(pend_tcp->query) {
|
||||
pend_tcp->query->cb = NULL;
|
||||
}
|
||||
w->cb = NULL;
|
||||
/* see if can be entered in reuse tree
|
||||
* for that the FD has to be non-1 */
|
||||
if(pend_tcp->c->fd == -1) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue