Because we try to forward infinitly message body, when its state is set to DONE,
we must be sure to reset to_foward value of the corresponding
channel. Otherwise, some errors can be errornously triggered.
No need to backport this patch.
goto missing_data_or_waiting;
msg->msg_state = HTTP_MSG_DONE;
+ req->to_forward = 0;
done:
/* other states, DONE...TUNNEL */
goto missing_data_or_waiting;
msg->msg_state = HTTP_MSG_DONE;
+ res->to_forward = 0;
done:
/* other states, DONE...TUNNEL */