Skip to content

Commit

Permalink
Don't set RUNNING unless a thread is running
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Nov 21, 2014
1 parent 6beb3f8 commit dfff7d5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/event.c
Expand Up @@ -1103,8 +1103,10 @@ static void no_response_to_proxied_request(void *ctx)

post_proxy_fail_handler(request);
} else {
/*
* Do nothing, and let the request time out.
*/
rad_assert(request->ev == NULL);
request->child_state = REQUEST_RUNNING;
wait_a_bit(request);
}

Expand Down

0 comments on commit dfff7d5

Please sign in to comment.