You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by pa...@apache.org on 2017/10/19 15:00:19 UTC

[trafficserver] branch master updated: add http 0.9 in find_proto_string

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

paziz 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 ff8b8a1  add http 0.9 in find_proto_string
ff8b8a1 is described below

commit ff8b8a1f044d902a9b5dc8d98705105495bcb459
Author: Persia Aziz <pe...@yahoo-inc.com>
AuthorDate: Mon Oct 16 12:46:43 2017 -0500

    add http 0.9 in find_proto_string
---
 proxy/http/HttpSM.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc
index 3718acd..9c784e8 100644
--- a/proxy/http/HttpSM.cc
+++ b/proxy/http/HttpSM.cc
@@ -7972,6 +7972,8 @@ HttpSM::find_proto_string(HTTPVersion version) const
     return IP_PROTO_TAG_HTTP_1_1;
   } else if (version == HTTPVersion(1, 0)) {
     return IP_PROTO_TAG_HTTP_1_0;
+  } else if (version == HTTPVersion(0, 9)) {
+    return IP_PROTO_TAG_HTTP_0_9;
   }
   return nullptr;
 }

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