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

amc 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 117e92f  Allow better logging by using TSHttpConnectWithPluginId
117e92f is described below

commit 117e92f1b1935513d2513ce090aef7b1cfbc174f
Author: dyrock <zeyu...@gmail.com>
AuthorDate: Thu May 17 13:25:22 2018 -0500

    Allow better logging by using TSHttpConnectWithPluginId
---
 plugins/background_fetch/background_fetch.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/background_fetch/background_fetch.cc 
b/plugins/background_fetch/background_fetch.cc
index d58c683..4a56b2e 100644
--- a/plugins/background_fetch/background_fetch.cc
+++ b/plugins/background_fetch/background_fetch.cc
@@ -382,7 +382,7 @@ cont_bg_fetch(TSCont contp, TSEvent event, void * /* edata 
ATS_UNUSED */)
 
     // Setup the NetVC for background fetch
     TSAssert(nullptr == data->vc);
-    if ((data->vc = TSHttpConnect((sockaddr *)&data->client_ip)) != nullptr) {
+    if ((data->vc = TSHttpConnectWithPluginId((sockaddr *)&data->client_ip, 
PLUGIN_NAME, 0)) != nullptr) {
       TSHttpHdrPrint(data->mbuf, data->hdr_loc, data->req_io_buf);
       // We never send a body with the request. ToDo: Do we ever need to 
support that ?
       TSIOBufferWrite(data->req_io_buf, "\r\n", 2);

-- 
To stop receiving notification emails like this one, please contact
a...@apache.org.

Reply via email to