Christophe Boyanique wrote:
>
> Yes we tried it and this leads to segfault too.
>
:-(
>
>
> By reading the log I just noticed that with your modification the
> icapReqModPassHttpBody is not called:
>
> This is for the specific request (POST):
>
> 2006/11/24 14:15:22| handing request bodies in ICAP REQMOD
> 2006/11/24 14:15:22| icapReqModReadHttpBody: FD 38 called
> 2006/11/24 14:15:22| icapReqModReadHttpBody: read returns 33
> .....................
> 2006/11/24 14:15:22| icap_reqmod.c:882 chunk_size=-2
> 2006/11/24 14:15:22| icap_reqmod.c:892 http_entity.callback=(nil)
> 2006/11/24 14:15:22| icap_reqmod.c:894 http_entity.buf.size=27
> 2006/11/24 14:15:22| icap_reqmod.c:896 http_entity.callback_bufsize=0
> 2006/11/24 14:15:22| icapSendRespMod: Create a new connection to icap
> server service_4/icap://xx.xx.xx.xx:1344/wwrespmod/?wwprofile=HTTP_xxxx
>
The strange here is that the http_entity.callback=(nil)
In my test cases, this never happens.......
II don't know why .....
> So why is called icapReqModPassHttpBody if the request does not
> contain a body ? And why dos it find 27 bytes of data which is exactly
> the body of the previous request ?
>
> This looks very strange, isn't it ?
Yes it is .....
Received on Mon Dec 04 2006 - 02:21:33 MST
This archive was generated by hypermail pre-2.1.9 : Sat Dec 30 2006 - 12:00:04 MST