This is an automated email from the ASF dual-hosted git repository.
shinrich 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 2a334d8 Remove duplicate calls to TSHttpTxnReenable in xdebug
2a334d8 is described below
commit 2a334d83af31a93fb75d1eae50288cf73d44ba29
Author: Susan Hinrichs <[email protected]>
AuthorDate: Tue Mar 5 20:11:35 2019 +0000
Remove duplicate calls to TSHttpTxnReenable in xdebug
---
plugins/xdebug/xdebug.cc | 2 --
1 file changed, 2 deletions(-)
diff --git a/plugins/xdebug/xdebug.cc b/plugins/xdebug/xdebug.cc
index 29751e6..c6eefd0 100644
--- a/plugins/xdebug/xdebug.cc
+++ b/plugins/xdebug/xdebug.cc
@@ -540,7 +540,6 @@ XScanRequestHeaders(TSCont /* contp */, TSEvent event, void
*edata)
}
}
}
- TSHttpTxnReenable(txn, TS_EVENT_HTTP_CONTINUE);
return TS_EVENT_NONE;
};
TSHttpTxnHookAdd(txn, TS_HTTP_SEND_REQUEST_HDR_HOOK,
TSContCreate(send_req_dump, nullptr));
@@ -553,7 +552,6 @@ XScanRequestHeaders(TSCont /* contp */, TSEvent event, void
*edata)
if (TSHttpTxnServerRespGet(txn, &buffer, &hdr) == TS_SUCCESS) {
log_headers(txn, buffer, hdr, "ServerResponse");
}
- TSHttpTxnReenable(txn, TS_EVENT_HTTP_CONTINUE);
return TS_EVENT_NONE;
};
TSHttpTxnHookAdd(txn, TS_HTTP_READ_RESPONSE_HDR_HOOK,
TSContCreate(read_resp_dump, nullptr));