Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

bugfix: reading data on a reused mysql connection (coming from the co…

…nnection pool) could hang due to the inactive read event when "poll" is enabled in nginx.
  • Loading branch information...
commit dd70c506c3b0425edbde0bd3c229aefc336fb9b0 1 parent c5d6025
@agentzh agentzh authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  src/ngx_http_drizzle_keepalive.c
View
2  src/ngx_http_drizzle_keepalive.c
@@ -381,9 +381,11 @@ ngx_http_drizzle_keepalive_close_handler(ngx_event_t *ev)
if (n == -1 && ngx_socket_errno == NGX_EAGAIN) {
/* stale event */
+#if 0
if (ngx_handle_read_event(c->read, 0) != NGX_OK) {
goto close;
}
+#endif
return;
}
Please sign in to comment.
Something went wrong with that request. Please try again.