mirror of
https://github.com/boostorg/beast.git
synced 2025-08-03 23:04:35 +02:00
cancel test allows reset connection in tests.
This commit is contained in:
committed by
Klemens Morgenstern
parent
099dcb58e8
commit
af5240f6f1
@@ -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())
|
||||
|
Reference in New Issue
Block a user