We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a39c88 commit dce81a0Copy full SHA for dce81a0
src/client/legacy/client.rs
@@ -344,17 +344,6 @@ where
344
extra.set(res.extensions_mut());
345
}
346
347
- // As of futures@0.1.21, there is a race condition in the mpsc
348
- // channel, such that sending when the receiver is closing can
349
- // result in the message being stuck inside the queue. It won't
350
- // ever notify until the Sender side is dropped.
351
- //
352
- // To counteract this, we must check if our senders 'want' channel
353
- // has been closed after having tried to send. If so, error out...
354
- if pooled.is_closed() {
355
- return Ok(res);
356
- }
357
-
358
// If pooled is HTTP/2, we can toss this reference immediately.
359
//
360
// when pooled is dropped, it will try to insert back into the
0 commit comments