Re: [PATCH 1/2] util/qemu-sockets: Add support for keep-alive flag to passive sockets

2025-03-17 Thread Juraj Marcin
On 2025-03-14 20:24, Vladimir Sementsov-Ogievskiy wrote: > On 03.03.25 17:33, Juraj Marcin wrote: > > Commit aec21d3175 (qapi: Add InetSocketAddress member keep-alive) > > introduces the keep-alive flag, which enables the SO_KEEPALIVE socket > > option, but only on client-side sockets. However, thi

Re: [PATCH 1/2] util/qemu-sockets: Add support for keep-alive flag to passive sockets

2025-03-15 Thread Vladimir Sementsov-Ogievskiy
On 03.03.25 17:33, Juraj Marcin wrote: Commit aec21d3175 (qapi: Add InetSocketAddress member keep-alive) introduces the keep-alive flag, which enables the SO_KEEPALIVE socket option, but only on client-side sockets. However, this option is also useful for server-side sockets, so they can check if

[PATCH 1/2] util/qemu-sockets: Add support for keep-alive flag to passive sockets

2025-03-03 Thread Juraj Marcin
Commit aec21d3175 (qapi: Add InetSocketAddress member keep-alive) introduces the keep-alive flag, which enables the SO_KEEPALIVE socket option, but only on client-side sockets. However, this option is also useful for server-side sockets, so they can check if a client is still reachable or drop the