mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix space calculation for tcp req buffer size.
git-svn-id: file:///svn/unbound/trunk@5047 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
d81e2c654f
commit
c10712a82b
2 changed files with 4 additions and 1 deletions
|
|
@ -1,3 +1,6 @@
|
|||
22 January 2018: Wouter
|
||||
- Fix space calculation for tcp req buffer size.
|
||||
|
||||
21 January 2018: Wouter
|
||||
- Fix tcp idle timeout test, for difference in the tcp reply code.
|
||||
- Unit test for tcp request reorder and timeouts.
|
||||
|
|
|
|||
|
|
@ -1821,7 +1821,7 @@ tcp_req_info_add_result(struct tcp_req_info* req, uint8_t* buf, size_t len)
|
|||
verbose(VERB_ALGO, "drop stream reply, no space left, in stream-wait-size");
|
||||
return 0;
|
||||
}
|
||||
stream_wait_count += stream_wait_max;
|
||||
stream_wait_count += space;
|
||||
lock_basic_unlock(&stream_wait_count_lock);
|
||||
|
||||
/* find last element */
|
||||
|
|
|
|||
Loading…
Reference in a new issue