File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -3656,13 +3656,14 @@ HttpSM::tunnel_handler_post_ua(int event, HttpTunnelProducer *p)
36563656
36573657 // Now that we have communicated the post body, turn off the inactivity timeout
36583658 // until the server starts sending data back
3659- if (ua_txn && t_state.hdr_info .request_content_length > 0 ) {
3660- ua_txn->cancel_inactivity_timeout ();
3659+ if (ua_txn) {
3660+ if (t_state.hdr_info .request_content_length > 0 ) {
3661+ ua_txn->cancel_inactivity_timeout ();
3662+ }
3663+ // Initiate another read to catch aborts
3664+ ua_entry->vc_handler = &HttpSM::state_watch_for_client_abort;
3665+ ua_entry->read_vio = p->vc ->do_io_read (this , INT64_MAX, ua_txn->get_reader ()->mbuf );
36613666 }
3662-
3663- // Initiate another read to catch aborts
3664- ua_entry->vc_handler = &HttpSM::state_watch_for_client_abort;
3665- ua_entry->read_vio = p->vc ->do_io_read (this , INT64_MAX, ua_txn->get_reader ()->mbuf );
36663667 break ;
36673668 default :
36683669 ink_release_assert (0 );
You can’t perform that action at this time.
0 commit comments