File tree Expand file tree Collapse file tree 2 files changed +0
-7
lines changed
contract-tests/src/bin/sse-test-api Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -53,11 +53,6 @@ impl Inner {
5353 if !self . send_message ( failure, & client) . await {
5454 break ;
5555 }
56-
57- match e {
58- es:: Error :: StreamClosed => break ,
59- _ => continue ,
60- }
6156 }
6257 } ;
6358 }
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ impl std::error::Error for HeaderError {
3030#[ derive( Debug ) ]
3131pub enum Error {
3232 TimedOut ,
33- StreamClosed ,
3433 /// An invalid request parameter
3534 InvalidParameter ( Box < dyn std:: error:: Error + Send + Sync + ' static > ) ,
3635 /// The HTTP response could not be handled.
@@ -56,7 +55,6 @@ impl std::fmt::Display for Error {
5655 use Error :: * ;
5756 match self {
5857 TimedOut => write ! ( f, "timed out" ) ,
59- StreamClosed => write ! ( f, "stream closed" ) ,
6058 InvalidParameter ( err) => write ! ( f, "invalid parameter: {err}" ) ,
6159 UnexpectedResponse ( r, _) => {
6260 let status = r. status ( ) ;
You can’t perform that action at this time.
0 commit comments