You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by so...@apache.org on 2016/06/06 17:07:01 UTC

[trafficserver] branch 6.2.x updated (5be1ebd -> 56e9644)

This is an automated email from the ASF dual-hosted git repository.

sorber pushed a change to branch 6.2.x
in repository https://git-dual.apache.org/repos/asf/trafficserver.git.

      from  5be1ebd   TS-4489: Remove second calling of Http2ConnectionState::delete_stream in Http2Stream::do_io_close
       new  9b7940b   TS-4440: fix truncated content-type for missing stats pages
       new  56e9644   TS-4440: Switch stats page-not-found to 404 from 400

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 proxy/http/HttpTransact.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].

[trafficserver] 01/02: TS-4440: fix truncated content-type for missing stats pages

Posted by so...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sorber pushed a commit to branch 6.2.x
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

commit 9b7940b678e21ad59474ca80eb08fa1772241233
Author: Thomas Jackson <ja...@gmail.com>
AuthorDate: Fri May 13 08:19:00 2016 -0700

    TS-4440: fix truncated content-type for missing stats pages
    
    (cherry picked from commit d22f82f34847c506ac02a29ec26468f33a767d93)
---
 proxy/http/HttpTransact.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxy/http/HttpTransact.cc b/proxy/http/HttpTransact.cc
index aa4812e..0f08360 100644
--- a/proxy/http/HttpTransact.cc
+++ b/proxy/http/HttpTransact.cc
@@ -3459,7 +3459,7 @@ HttpTransact::HandleStatPage(State *s)
       s->hdr_info.client_response.value_set(MIME_FIELD_CONTENT_TYPE, MIME_LEN_CONTENT_TYPE, s->internal_msg_buffer_type, len);
     }
   } else {
-    s->hdr_info.client_response.value_set(MIME_FIELD_CONTENT_TYPE, MIME_LEN_CONTENT_TYPE, "text/plain", 9);
+    s->hdr_info.client_response.value_set(MIME_FIELD_CONTENT_TYPE, MIME_LEN_CONTENT_TYPE, "text/plain", 10);
   }
 
   s->cache_info.action = CACHE_DO_NO_ACTION;

-- 
To stop receiving notification emails like this one, please contact
"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>.

[trafficserver] 02/02: TS-4440: Switch stats page-not-found to 404 from 400

Posted by so...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sorber pushed a commit to branch 6.2.x
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

commit 56e9644cb9715fa9592f47514c054b197d30252b
Author: Thomas Jackson <ja...@gmail.com>
AuthorDate: Fri May 13 08:20:17 2016 -0700

    TS-4440: Switch stats page-not-found to 404 from 400
    
    (cherry picked from commit f94ee5e84999dab47f8c00f672ae8f8094823a98)
---
 proxy/http/HttpTransact.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxy/http/HttpTransact.cc b/proxy/http/HttpTransact.cc
index 0f08360..8c7e119 100644
--- a/proxy/http/HttpTransact.cc
+++ b/proxy/http/HttpTransact.cc
@@ -3442,7 +3442,7 @@ HttpTransact::HandleStatPage(State *s)
   if (s->internal_msg_buffer) {
     status = HTTP_STATUS_OK;
   } else {
-    status = HTTP_STATUS_BAD_REQUEST;
+    status = HTTP_STATUS_NOT_FOUND;
   }
 
   build_response(s, &s->hdr_info.client_response, s->client_info.http_version, status);

-- 
To stop receiving notification emails like this one, please contact
"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>.