Hold the outpub_write mutex until the data is send, not just until it is
removed from the ring buffer. This prevents the session thread from closing the socket before send() is called with the data. Fixed issue seen on techdorks.net with the 404.ssjs file (and likely others where static files were truncated on send).
Loading
Please register or sign in to comment