libdill has SO_LINGER turned off which means the second you close a descriptor it’s remaining bytes are not flushed but rather are lost. So turned it on, else loses data when latency is a bit high (like behind a proxy). thx to @robertjpayne
libdill has SO_LINGER turned off which means the second you close a descriptor it’s remaining bytes are not flushed but rather are lost. So turned it on, else loses data when latency is a bit high (like behind a proxy). thx to @robertjpayne