mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Clean the fix for out of order TCP processing limits on number
of queries. It was tested to work.
This commit is contained in:
parent
531ce9e85c
commit
61922ce9da
2 changed files with 3 additions and 5 deletions
|
|
@ -14,6 +14,8 @@
|
|||
- Log ip address when http session recv fails, eg. due to tls fail.
|
||||
- Fix to set the tcp handler event toggle flag back to default when
|
||||
the handler structure is reused.
|
||||
- Clean the fix for out of order TCP processing limits on number
|
||||
of queries. It was tested to work.
|
||||
|
||||
16 October 2020: Wouter
|
||||
- Fix that the out of order TCP processing does not limit the
|
||||
|
|
|
|||
|
|
@ -81,9 +81,6 @@
|
|||
/** number of queued TCP connections for listen() */
|
||||
#define TCP_BACKLOG 256
|
||||
|
||||
/** number of simultaneous requests a client can have */
|
||||
/* #define TCP_MAX_REQ_SIMULTANEOUS 32 */
|
||||
|
||||
#ifndef THREADS_DISABLED
|
||||
/** lock on the counter of stream buffer memory */
|
||||
static lock_basic_type stream_wait_count_lock;
|
||||
|
|
@ -1809,8 +1806,7 @@ tcp_req_info_setup_listen(struct tcp_req_info* req)
|
|||
|
||||
if(!req->cp->tcp_is_reading)
|
||||
wr = 1;
|
||||
if(/*req->num_open_req + req->num_done_req < TCP_MAX_REQ_SIMULTANEOUS &&*/
|
||||
!req->read_is_closed)
|
||||
if(!req->read_is_closed)
|
||||
rd = 1;
|
||||
|
||||
if(wr) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue