Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions proxy/http2/Http2Stream.cc
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ Http2Stream::main_event_handler(int event, void *edata)
signal_read_event(event);
}
} else {
this->update_read_request(INT64_MAX, true);
this->update_read_request(true);
}
break;
case VC_EVENT_EOS:
Expand Down Expand Up @@ -489,7 +489,7 @@ Http2Stream::send_tracked_event(Event *event, int send_event, VIO *vio)
}

void
Http2Stream::update_read_request(int64_t read_len, bool call_update, bool check_eos)
Http2Stream::update_read_request(bool call_update)
{
if (closed || _proxy_ssn == nullptr || _sm == nullptr || read_vio.mutex == nullptr) {
return;
Expand Down Expand Up @@ -750,7 +750,7 @@ Http2Stream::reenable(VIO *vio)
}

SCOPED_MUTEX_LOCK(lock, this->mutex, this_ethread());
update_read_request(INT64_MAX, true);
update_read_request(true);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion proxy/http2/Http2Stream.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class Http2Stream : public ProxyTransaction
void send_request(Http2ConnectionState &cstate);
void initiating_close();
void terminate_if_possible();
void update_read_request(int64_t read_len, bool send_update, bool check_eos = false);
void update_read_request(bool send_update);
void update_write_request(IOBufferReader *buf_reader, int64_t write_len, bool send_update);

void signal_read_event(int event);
Expand Down