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 2017/05/11 14:53:49 UTC
[trafficserver] branch master updated: coverity 1022189 : remove
dead code
This is an automated email from the ASF dual-hosted git repository.
sorber 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 d696786 coverity 1022189 : remove dead code
d696786 is described below
commit d6967864177d89231a5497350f8a269536f0baef
Author: Jason Kenny <dr...@live.com>
AuthorDate: Wed May 10 13:59:09 2017 -0400
coverity 1022189 : remove dead code
---
plugins/esi/serverIntercept.cc | 5 -----
1 file changed, 5 deletions(-)
diff --git a/plugins/esi/serverIntercept.cc b/plugins/esi/serverIntercept.cc
index 2ed4269..00d5f3d 100644
--- a/plugins/esi/serverIntercept.cc
+++ b/plugins/esi/serverIntercept.cc
@@ -159,11 +159,6 @@ handleRead(SContData *cont_data, bool &read_complete)
TSMLoc content_len_loc =
TSMimeHdrFieldFind(cont_data->req_hdr_bufp, cont_data->req_hdr_loc, TS_MIME_FIELD_CONTENT_LENGTH, -1);
if (!content_len_loc) {
- TSError("[server_intercept][%s] Error while searching content length header [%s]", __FUNCTION__,
- TS_MIME_FIELD_CONTENT_LENGTH);
- return false;
- }
- if (!content_len_loc) {
TSError("[server_intercept][%s] request doesn't contain content length header [%s]", __FUNCTION__,
TS_MIME_FIELD_CONTENT_TYPE);
return false;
--
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].