File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -856,7 +856,7 @@ void Stream::BeginHeaders(HeadersKind kind) {
856
856
bool Stream::AddHeader (const Header& header) {
857
857
size_t len = header.length ();
858
858
if (is_destroyed () || !session_->application ().CanAddHeader (
859
- headers_.size (), headers_length_, len)) {
859
+ headers_.size (), headers_length_, len)) {
860
860
return false ;
861
861
}
862
862
@@ -1037,7 +1037,8 @@ void Stream::EmitWantTrailers() {
1037
1037
1038
1038
void Stream::Schedule (Stream::Queue* queue) {
1039
1039
// If this stream is not already in the queue to send data, add it.
1040
- if (!is_destroyed () && outbound_ && stream_queue_.IsEmpty ()) queue->PushBack (this );
1040
+ if (!is_destroyed () && outbound_ && stream_queue_.IsEmpty ())
1041
+ queue->PushBack (this );
1041
1042
}
1042
1043
1043
1044
void Stream::Unschedule () {
You can’t perform that action at this time.
0 commit comments