2
0
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:
Andreas Gustafsson
2000-06-22 01:14:38 +00:00
parent b90d3f516f
commit b3157263ee
2 changed files with 7 additions and 1 deletions

View File

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

View File

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