- 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:
Wouter Wijngaards 2019-01-22 08:27:49 +00:00
parent d81e2c654f
commit c10712a82b
2 changed files with 4 additions and 1 deletions

View file

@ -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.

View file

@ -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 */