You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2018/06/19 16:44:31 UTC
[trafficserver] 02/05: Added client read error case to
TSHttpTxnAborted
This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 8f224bf98ef80f45176fd7bef016e20380f5e82a
Author: Zeyuan Yu <ze...@gmail.com>
AuthorDate: Tue Jun 12 15:19:58 2018 +0000
Added client read error case to TSHttpTxnAborted
(cherry picked from commit e774b36bc15f996b6e6668804ac84f64011786b0)
---
src/traffic_server/InkAPI.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/traffic_server/InkAPI.cc b/src/traffic_server/InkAPI.cc
index 1491c53..8dbebbc 100644
--- a/src/traffic_server/InkAPI.cc
+++ b/src/traffic_server/InkAPI.cc
@@ -5349,6 +5349,7 @@ TSHttpTxnAborted(TSHttpTxn txnp)
HttpSM *sm = (HttpSM *)txnp;
switch (sm->t_state.squid_codes.log_code) {
case SQUID_LOG_ERR_CLIENT_ABORT:
+ case SQUID_LOG_ERR_CLIENT_READ_ERROR:
case SQUID_LOG_TCP_SWAPFAIL:
// check for client abort and cache read error
return TS_SUCCESS;