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 2013/02/26 01:48:10 UTC

git commit: TS-1557: update ua_begin_write

Updated Branches:
  refs/heads/master 47913b8e1 -> 44aae027e


TS-1557: update ua_begin_write

Author: Aidan McGurn <ai...@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/master
Commit: 44aae027eb3a6879b8f8add1f79fed7170aae5ce
Parents: 47913b8
Author: Phil Sorber <so...@apache.org>
Authored: Mon Feb 25 16:47:37 2013 -0800
Committer: Phil Sorber <so...@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) {