You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ok...@apache.org on 2017/06/26 02:10:13 UTC
[trafficserver] branch master updated: The content-type of TRACE
response should be message/http.
This is an automated email from the ASF dual-hosted git repository.
oknet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 4a4b4e7 The content-type of TRACE response should be message/http.
4a4b4e7 is described below
commit 4a4b4e705547352eba202599e01a89e284473229
Author: Oknet Xu <xu...@skyguard.com.cn>
AuthorDate: Fri Jun 23 20:22:59 2017 +0800
The content-type of TRACE response should be message/http.
---
proxy/http/HttpTransact.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/proxy/http/HttpTransact.cc b/proxy/http/HttpTransact.cc
index 56621e6..f3c0326 100644
--- a/proxy/http/HttpTransact.cc
+++ b/proxy/http/HttpTransact.cc
@@ -5416,6 +5416,7 @@ HttpTransact::handle_trace_and_options_requests(State *s, HTTPHdr *incoming_hdr)
done = incoming_hdr->print(s->internal_msg_buffer, s->internal_msg_buffer_size, &used, &offset);
HTTP_RELEASE_ASSERT(done);
s->internal_msg_buffer_size = used;
+ s->internal_msg_buffer_type = ats_strdup("message/http");
s->hdr_info.client_response.set_content_length(used);
} else {
--
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].