Commit b3157263 authored by Andreas Gustafsson's avatar Andreas Gustafsson
Browse files

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.
parent b90d3f51
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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment