cancel test allows reset connection in tests.

This commit is contained in:
Klemens Morgenstern authored and Klemens Morgenstern committed 2023-06-23 09:49:54 +08:00
1 parent 099dcb58e8
commit af5240f6f1
1 file changed
+2
+2
View File
@@ -166,6 +166,8 @@ public:
cancel_counter++;
BEAST_EXPECTS(ec == net::error::operation_aborted
// freebsd does this in tests.
|| ec == net::error::connection_reset
|| ec == net::error::broken_pipe
// winapi WSAECONNRESET, as system_category
|| ec == error_code(10054, boost::system::system_category())