Re:You can't download this image
by garaetjjte on Saturday November 27, 2021 @07:48PM
(#29365147)
It would be possible to really close the connection but hack something to don't inform the client. (maybe just doing close() with SO_LINGER=0 and dropping outgoing RST in iptables would be enough)
[ Parent
| on HN ]
The client would eventually time out though, right?
Re:You can't download this image
by garaetjjte on Monday November 29, 2021 @09:55PM
(#29388380)
Yes, browsers probably have their own relatively short timeouts. (curiously enough, system TCP stack will never close idle connections by default, and even if application requests SO_KEEPALIVE, default intervals are usually in hours range)