fix(client): report read-timeout restore failures

This commit is contained in:
Nils Andreas Svee committed 2026-05-07 21:25:51 +07:00
1 parent 658a4375ec
commit 7017071949
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -14,6 +14,8 @@ pub enum ClientError {
remote: std::net::SocketAddr,
source: io::Error,
},
#[error("failed to restore configured socket read timeout after open negotiation: {source}")]
ReadTimeoutRestore { source: io::Error },
#[error("protocol error: {0}")]
Protocol(#[from] irtt_proto::ProtoError),
#[error("all open requests timed out")]