nghttpx: Fix broken healthmon frontend
This commit is contained in:
parent
d24527e7e6
commit
31fd707d0c
|
@ -54,7 +54,14 @@ void HealthMonitorDownstreamConnection::detach_downstream(
|
||||||
downstream_ = nullptr;
|
downstream_ = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
int HealthMonitorDownstreamConnection::push_request_headers() { return 0; }
|
int HealthMonitorDownstreamConnection::push_request_headers() {
|
||||||
|
downstream_->set_request_header_sent(true);
|
||||||
|
auto src = downstream_->get_blocked_request_buf();
|
||||||
|
auto dest = downstream_->get_request_buf();
|
||||||
|
src->remove(*dest);
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
int HealthMonitorDownstreamConnection::push_upload_data_chunk(
|
int HealthMonitorDownstreamConnection::push_upload_data_chunk(
|
||||||
const uint8_t *data, size_t datalen) {
|
const uint8_t *data, size_t datalen) {
|
||||||
|
|
Loading…
Reference in New Issue