Skip to content

keepalive_get will reuse connections with state_db_connect #12

@cfsego

Description

@cfsego

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions