> -----Ursprüngliche Nachricht----- > Von: Mladen Turk > Gesendet: Freitag, 19. September 2008 11:45 > An: [email protected] > Betreff: Re: svn commit: r696614 - in /httpd/httpd/trunk: > CHANGES modules/proxy/mod_proxy_ajp.c > > Plüm, Rüdiger, VF-Group wrote: > > > >> Without the patch the container side will presume the next packet > >> (can be new request or ping) is first body packet. > > > > So with the patch the connection to the container can be reused and > > the state of the connection in the container is that it waits for a > > new request on this connection? > > > > Yes. > > It's quite straightforward. Per AJP protocol spec, > whenever there is C-L > 0 header present the container > expects two packets: > a) request itself and b) the first body packet. > Additional body packets are then requested by container > by GET_BODY_PACKET message. If the first body packet > is zero-length or container decides it doesn't > wish to read rest of the body it terminates the request > (without closing the physical connection of course)
Thanks for clarification. Regards Rüdiger
