Tidied up
This commit is contained in:
parent
67669bf3ca
commit
c0b564abe4
|
@ -230,7 +230,7 @@ int Downstream::push_request_headers()
|
|||
|
||||
hdrs += "\r\n";
|
||||
if(ENABLE_LOG) {
|
||||
LOG(INFO) << "<downstream> request headers\n" << hdrs;
|
||||
LOG(INFO) << "Downstream request headers\n" << hdrs;
|
||||
}
|
||||
evbuffer *output = bufferevent_get_output(bev_);
|
||||
evbuffer_add(output, hdrs.c_str(), hdrs.size());
|
||||
|
@ -389,7 +389,7 @@ int Downstream::parse_http_response()
|
|||
return 0;
|
||||
} else {
|
||||
if(ENABLE_LOG) {
|
||||
LOG(INFO) << "<downstream> http parser failure: "
|
||||
LOG(INFO) << "Downstream HTTP parser failure: "
|
||||
<< htparser_get_strerror(response_htp_);
|
||||
}
|
||||
return SHRPX_ERR_HTTP_PARSE;
|
||||
|
|
|
@ -106,7 +106,8 @@ private:
|
|||
bool chunked_response_;
|
||||
Headers response_headers_;
|
||||
htparser *response_htp_;
|
||||
|
||||
// This buffer is used to temporarily store downstream response
|
||||
// body. Spdylay reads data from this in the callback.
|
||||
evbuffer *response_body_buf_;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue