mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00: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:
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;
|
||||
|
Reference in New Issue
Block a user