Skip to content

Commit 5ee77d1

Browse files
committed
fix: a request is inflight if the response is inflight as well
1 parent 85309c3 commit 5ee77d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stackslib/src/net/rpc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ impl ConversationHttp {
194194

195195
/// Is a request in-progress?
196196
pub fn is_request_inflight(&self) -> bool {
197-
self.pending_request.is_some()
197+
self.pending_request.is_some() || self.pending_response.is_some()
198198
}
199199

200200
/// Start a HTTP request from this peer, and expect a response.

0 commit comments

Comments
 (0)