You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2012/10/13 20:46:03 UTC

git commit: TS-1525: SPDY plugin sends malformed HTTP version string

Updated Branches:
  refs/heads/master dc36d49eb -> 1e80f531c


TS-1525: SPDY plugin sends  malformed HTTP version string


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/1e80f531
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/1e80f531
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/1e80f531

Branch: refs/heads/master
Commit: 1e80f531c6c0112bc08c7e00b5edebc323455f96
Parents: dc36d49
Author: Conan Wang <co...@gmail.com>
Authored: Sat Oct 13 11:45:37 2012 -0700
Committer: James Peach <jp...@apache.org>
Committed: Sat Oct 13 11:45:37 2012 -0700

----------------------------------------------------------------------
 plugins/experimental/spdy/http.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/1e80f531/plugins/experimental/spdy/http.cc
----------------------------------------------------------------------
diff --git a/plugins/experimental/spdy/http.cc b/plugins/experimental/spdy/http.cc
index 94cb9ac..b5e0432 100644
--- a/plugins/experimental/spdy/http.cc
+++ b/plugins/experimental/spdy/http.cc
@@ -41,7 +41,7 @@ populate_http_headers(
     snprintf(status, sizeof(status),
             "%u %s", (unsigned)code, TSHttpHdrReasonLookup(code));
     snprintf(httpvers, sizeof(httpvers),
-            "HTTP/%2u.%2u", TS_HTTP_MAJOR(vers), TS_HTTP_MINOR(vers));
+            "HTTP/%u.%u", TS_HTTP_MAJOR(vers), TS_HTTP_MINOR(vers));
 
     if (version == spdy::PROTOCOL_VERSION_2) {
         kvblock["status"] = status;