mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
If the socket fails to initialize, e.g., by omitting the tis init handler, the connection is leaked, since there is a circular reference between the connection and its async_read/async_write handlers. To fix this, check the error code, and reset the handler is an error has occurred.