Skip to content

Commit

Permalink
crash fix (apache#8268)
Browse files Browse the repository at this point in the history
  • Loading branch information
duke8253 committed Sep 27, 2021
1 parent 4ec24cb commit cd1139b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions proxy/http/HttpSM.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6009,6 +6009,7 @@ HttpSM::do_setup_post_tunnel(HttpVC_t to_vc_type)
// When redirect in process is true and redirection is enabled
// add http server as the consumer
if (post_redirect) {
chunked = false;
HTTP_SM_SET_DEFAULT_HANDLER(&HttpSM::tunnel_handler_for_partial_post);
tunnel.add_consumer(server_entry->vc, HTTP_TUNNEL_STATIC_PRODUCER, &HttpSM::tunnel_handler_post_server, HT_HTTP_SERVER,
"redirect http server post");
Expand Down

0 comments on commit cd1139b

Please sign in to comment.