v.1.1.54378Improvement

Server Timeout Settings Applied in Reverse Order

The server accepts the send_timeout and receive_timeout settings from the client and applies them when connecting to the client (they are applied in reverse order: the server socket’s send_timeout is set to the receive_timeout value received from the client, and vice versa).
The server now accepts send_timeout and receive_timeout settings from the client and applies them with reversed roles on the server socket during client connections.

Why it matters

This feature enables more flexible and granular control over socket timeout settings on both client and server sides. By allowing the client to specify these timeouts, the server can better manage connection behavior, potentially improving communication reliability and responsiveness.

How to use it

Clients can specify the send_timeout and receive_timeout settings when connecting to the server. The server automatically applies these settings in reverse order to the server socket: the server's send_timeout is set to the client's receive_timeout value, and the server's receive_timeout is set to the client's send_timeout value.