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 2016/04/08 19:17:09 UTC

trafficserver git commit: Use MIMEParseResult for header parse status.

Repository: trafficserver
Updated Branches:
  refs/heads/master 5952dd78f -> 56802d7aa


Use MIMEParseResult for header parse status.


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

Branch: refs/heads/master
Commit: 56802d7aa183e2982e7674ccf6733ad9d8517321
Parents: 5952dd7
Author: James Peach <jp...@apache.org>
Authored: Fri Apr 8 10:16:52 2016 -0700
Committer: James Peach <jp...@apache.org>
Committed: Fri Apr 8 10:17:00 2016 -0700

----------------------------------------------------------------------
 proxy/Milestones.h   | 1 +
 proxy/http/HttpSM.cc | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/56802d7a/proxy/Milestones.h
----------------------------------------------------------------------
diff --git a/proxy/Milestones.h b/proxy/Milestones.h
index bc2bcd1..078859a 100644
--- a/proxy/Milestones.h
+++ b/proxy/Milestones.h
@@ -27,6 +27,7 @@
 #include "ts/ink_platform.h"
 #include "ts/ink_hrtime.h"
 #include "ts/apidefs.h"
+#include "../lib/ts/ink_hrtime.h"
 
 /////////////////////////////////////////////////////////////
 //

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/56802d7a/proxy/http/HttpSM.cc
----------------------------------------------------------------------
diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc
index 5d58b75..49be8e8 100644
--- a/proxy/http/HttpSM.cc
+++ b/proxy/http/HttpSM.cc
@@ -1775,7 +1775,7 @@ HttpSM::state_read_server_response_header(int event, void *data)
   /////////////////////
   // tokenize header //
   /////////////////////
-  int state = t_state.hdr_info.server_response.parse_resp(&http_parser, server_buffer_reader, &bytes_used, server_entry->eos);
+  MIMEParseResult state = t_state.hdr_info.server_response.parse_resp(&http_parser, server_buffer_reader, &bytes_used, server_entry->eos);
 
   server_response_hdr_bytes += bytes_used;