Ajp13Listener fails to deallocate response/request
Status: Beta
Brought to you by:
rickknowles
In some cases, allocated request and response objects are not deallocated and returned to the object pool. This leads to "limit exceeded" errors in object pool after some time and a "Bad Gateway" error in Apache running mod_jk.
The attached patch resolves the problem by setting the request/response handler members earlier (to allow the handler to call deallocate in the error case) and deallocates response/request if the headers packet length is 0.
Ajp13Listener patch