Permalink
Browse files

we should remove timers for the send query phase.

  • Loading branch information...
agentzh committed Oct 26, 2010
1 parent b68ecca commit 1ba79db3e26aafbfd06755b71b7f15d1906e5312
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/ngx_http_drizzle_processor.c
@@ -204,6 +204,10 @@ ngx_http_upstream_drizzle_send_query(ngx_http_request_t *r,
ngx_del_timer(c->write);
}
+ if (c->read->timer_set) {
+ ngx_del_timer(c->read);
+ }
+
if (ret != DRIZZLE_RETURN_OK) {
#if 1
if (ret == DRIZZLE_RETURN_ERROR_CODE) {

0 comments on commit 1ba79db

Please sign in to comment.