Skip to content

Commit

Permalink
fixed an issue that prematurly removing a write event when still busi…
Browse files Browse the repository at this point in the history
…ly connecting to the database from the event model.
  • Loading branch information
agentzh committed Nov 12, 2011
1 parent cc6265c commit 46b744a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ngx_http_drizzle_processor.c
Expand Up @@ -104,9 +104,11 @@ ngx_http_drizzle_process_events(ngx_http_request_t *r)
}

if (rc == NGX_AGAIN) {
#if 0
if (ngx_handle_write_event(c->write, 0) != NGX_OK) {
return NGX_ERROR;
}
#endif

rc = ngx_http_drizzle_output_bufs(r, dp);

Expand Down

0 comments on commit 46b744a

Please sign in to comment.