Closed cstar closed 4 months ago
By transferring control to couchbeam_view_stream process, we ensure that the socket is effectively closed on both sides, even in case of crashes or stop of this process. In some cases increasing numbers of sockets in CLOSE-WAIT state was observed.
thanks!
Code to reproduce the issue here: https://friendpaste.com/52BlxIPBaHKVVYl95adzLA
By transferring control to couchbeam_view_stream process, we ensure that the socket is effectively closed on both sides, even in case of crashes or stop of this process. In some cases increasing numbers of sockets in CLOSE-WAIT state was observed.