Skip to content

Client disconnects after 240s if server timeout is set to 300s #184

@neben

Description

@neben

I've set the server timeout to 300 seconds (--timeout 300), but now I'm seeing the clients always disconnect after 240s. This looks like the initial client timeout. IIUC the server should update the client timeout to twice the server timeout. Is this timeout info sent with the server keep-alive packet? And is the keep-alive packet sent timeout seconds after connection establishment? This then would explain that if I set the server timeout (300s) to a value higher than the initial timeout (240s), the client times out before ever receiving the timeout update.

If that is the case, wouldn't it make sense to transmit the server timeout value to the client upon connection establishment?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions