Skip to content

It is not possible to set a socket timeout after connection is established #2011

@MarcoFleres

Description

@MarcoFleres

Problem:
Mysql server is too busy to read TCP queue, and responds with TCP Zero Window. This is to be expected from time to time, but if the server never clears the queue, the client will halt on socket write.

This could be solved by setting socket timeout. Currently, only connectTimeout can be set, and after connection is established, socket timeout is set back to 0.

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