mirror of
https://github.com/TrustTunnel/TrustTunnel.git
synced 2026-04-26 20:36:02 +00:00
Do not send deferred headers in write method
This commit is contained in:
@@ -491,10 +491,9 @@ impl pipe::Sink for StreamSink {
|
||||
}
|
||||
|
||||
fn write(&mut self, data: Bytes) -> io::Result<Bytes> {
|
||||
self.try_send_pending_response()?;
|
||||
if self.pending_response.is_some() {
|
||||
log_id!(
|
||||
debug,
|
||||
error,
|
||||
self.id,
|
||||
"Body write deferred: response headers not yet sent"
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user