Skip to content

Commit 6f9ec28

Browse files
committed
Fixed error code matching.
1 parent a1e6e9a commit 6f9ec28

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/mqtt/endpoint.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -4555,6 +4555,7 @@ class endpoint : public std::enable_shared_from_this<endpoint<Mutex, LockGuard,
45554555
}
45564556
if ( (ec == as::error::eof)
45574557
|| (ec == as::error::connection_reset)
4558+
|| (ec == as::error::operation_aborted)
45584559
#if defined(MQTT_USE_WS)
45594560
|| (ec == boost::beast::websocket::error::closed)
45604561
#endif // defined(MQTT_USE_WS)

0 commit comments

Comments
 (0)