nghttp2-asio
nghttp2-asio copied to clipboard
Fix exception in server
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.