trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject [13/50] git commit: TS-1557: update ua_begin_write
Date Sat, 09 Mar 2013 00:48:37 GMT
TS-1557: update ua_begin_write

Author: Aidan McGurn <aidan.mcgurn@openwave.com>


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

Branch: refs/heads/3.3.x
Commit: 44aae027eb3a6879b8f8add1f79fed7170aae5ce
Parents: 47913b8
Author: Phil Sorber <sorber@apache.org>
Authored: Mon Feb 25 16:47:37 2013 -0800
Committer: Phil Sorber <sorber@apache.org>
Committed: Mon Feb 25 16:47:37 2013 -0800

----------------------------------------------------------------------
 CHANGES              |    2 ++
 proxy/http/HttpSM.cc |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/44aae027/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 1eadef7..543cb52 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,8 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache Traffic Server 3.3.1
 
+  *) [TS-1557] update ua_begin_write
+
   *) [TS-1320] Reading from SSL origin can starve sending data to client.
 
   *) [TS-1155] POST requests that are chunked encoding hang when going

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/44aae027/proxy/http/HttpSM.cc
----------------------------------------------------------------------
diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc
index d16dc33..398b5d8 100644
--- a/proxy/http/HttpSM.cc
+++ b/proxy/http/HttpSM.cc
@@ -4635,6 +4635,7 @@ HttpSM::do_api_callout_internal()
     break;
   case HttpTransact::HTTP_API_SEND_REPONSE_HDR:
     cur_hook_id = TS_HTTP_SEND_RESPONSE_HDR_HOOK;
+    milestones.ua_begin_write = ink_get_hrtime();
     break;
   case HttpTransact::HTTP_API_SM_SHUTDOWN:
     if (callout_state == HTTP_API_IN_CALLOUT || callout_state == HTTP_API_DEFERED_SERVER_ERROR)
{


Mime
View raw message