summaryrefslogtreecommitdiff
path: root/plugin/protocol/http/src/http_half.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/protocol/http/src/http_half.cpp')
-rw-r--r--plugin/protocol/http/src/http_half.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/plugin/protocol/http/src/http_half.cpp b/plugin/protocol/http/src/http_half.cpp
index 353ba2b..8e4d61e 100644
--- a/plugin/protocol/http/src/http_half.cpp
+++ b/plugin/protocol/http/src/http_half.cpp
@@ -377,17 +377,6 @@ static int __parser_callback_on_headers_complete(http_parser * parser)
hf_private->stream_action = ACTION_FORWARD_DATA;
}
- if (hs_private && hf_direction == TFE_HTTP_REQUEST && hs_private->hf_private_req_user != NULL)
- {
- http_parser_pause(parser, 1);
- assert(hf_private->stream_action != ACTION_FORWARD_DATA);
- }
- else if (hs_private && hf_direction == TFE_HTTP_RESPONSE && hs_private->hf_private_resp_user != NULL)
- {
- http_parser_pause(parser, 1);
- assert(hf_private->stream_action != ACTION_FORWARD_DATA);
- }
-
return 0;
}