nghttp2-asio icon indicating copy to clipboard operation
nghttp2-asio copied to clipboard

Fix exception in server

Open m8mble opened this issue 2 years ago • 0 comments

It can happen that a connection handler calls writefun when the connection is already destroyed. This causes bad_weak_ptr exceptions thrown from the server.

Fix this issue by skipping the respective do_write invocations.

Problem encountered in a real-world server.

m8mble avatar Jan 20 '23 15:01 m8mble