Skip to content

[Bug] no tcp keepalive cause client hang #491

Description

@caiq1nyu

SQLx currently does not support configuring TCP keep-alives; consequently, in certain extreme scenarios—such as a "half-open"/"half-close" TCP connection—the client may appear to freeze.

This impacts certain scenarios in MySQL and PostgreSQL involving the execution of extremely long-running transactions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingMySQLthe issue about MySQLPostgreSQLthe issue about PG

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions