Joel Dice wrote:
Attached is a patch against JK 1.2.5 to fix handling of POSTs for load-balanced workers.
The problem it addresses occurs when an endpoint fails while mod_jk is trying to send it a POST request. When mod_jk gives up and attempts to use a different endpoint, the body of the POST is lost. Since the POST is not part of the new endpoint's state, mod_jk tries to re-read the data from the client, but the client has nothing more to say, so the read returns zero bytes. This empty post is sent on to the application server, confusing it.
The patch fixes this problem by attaching the POST data to the request state (of type jk_ws_service_t) instead of the endpoint state (of type ajp_endpoint_t).
Feedback is welcome.
Well in jk 1.2.6-dev it was fixed and there is repost data in service area.
Thanks to check if it works for you with the latest jk in CVS...
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]