chaoslawful/drizzle-nginx-module — Issue #12: keepalive_get will reuse connections with state_db_connect
Author: cfsego
Created: 2011-11-11 10:04:52+00:00
State: open

in v1.1.0

conf is
upstream dns_backend {
drizzle_server 10.232.31.89:3306;
drizzle_keepalive max=70 mode=single overflow=ignore;
}

we find that the connection can be only used once.
and the error log says "BROKEN PIPE"

we found that the ngx_http_drizzle_keepalive_get_XXX() returns the dp with reset dp->state, so it is state_db_connect