mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-15 04:00:03 -04:00
272. [bug] The sending of large TCP responses was canceled
in mid-transmission due to a race condition
caused by the failure to set the client object's
newstate variable correctly when transitioning
to the working state.
This commit is contained in:
parent
b90d3f516f
commit
b3157263ee
2 changed files with 7 additions and 1 deletions
6
CHANGES
6
CHANGES
|
|
@ -1,3 +1,9 @@
|
|||
272. [bug] The sending of large TCP responses was canceled
|
||||
in mid-transmission due to a race condition
|
||||
caused by the failure to set the client object's
|
||||
"newstate" variable correctly when transitioning
|
||||
to the "working" state.
|
||||
|
||||
271. [func] Attempt to probe the number of cpus in named
|
||||
if unspecified rather than defaulting to 1.
|
||||
|
||||
|
|
|
|||
|
|
@ -867,7 +867,7 @@ client_request(isc_task_t *task, isc_event_t *event) {
|
|||
|
||||
if (exit_check(client))
|
||||
goto cleanup_serverlock;
|
||||
client->state = NS_CLIENTSTATE_WORKING;
|
||||
client->state = client->newstate = NS_CLIENTSTATE_WORKING;
|
||||
|
||||
isc_stdtime_get(&client->requesttime);
|
||||
client->now = client->requesttime;
|
||||
|
|
|
|||
Loading…
Reference in a new issue