Skip to content

Commit

Permalink
bring back comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruben2424 committed Jun 3, 2024
1 parent 0945938 commit 91fb7c1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion h3/src/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,10 @@ where
});
};

//= https://www.rfc-editor.org/rfc/rfc9114#section-6.2.3
//# When sending a reserved stream type,
//# the implementation MAY either terminate the stream cleanly or reset
//# it.
if let GreaseStatus::DataSent(stream) = &mut self.grease_step {
match stream.poll_finish(cx) {
Poll::Ready(Ok(_)) => (),
Expand All @@ -670,7 +674,6 @@ where
self.grease_step = GreaseStatus::Finished;
};

warn!("grease stream finished");
// grease stream is closed
// dont do another one
self.send_grease_stream_flag = false;
Expand Down

0 comments on commit 91fb7c1

Please sign in to comment.