-
Notifications
You must be signed in to change notification settings - Fork 65
Description
Dear. I have a bit of an odd issue with the icap client of g3. There are edge cases where the icap client sends a RESPMOD (for a response WITH body) and where it correctly sends the ICAP header, http req header and http resp header. Sometimes it also sends the beginning of the first chunk (length), but sometimes that beginning of first chunk is missing. At that point when the ICAP server (mine) would try to read the body it will get stuck as the ICAP client is not sending any data, yet neither is it returning an EOF. it just is not sending anything...
So far I cannot find a pattern on why. There are no errors. Sometimes it's a original response which uses transfer encoding (chunked) itself but just as many times the original response was just using content-length (no transfer-encoding).
So I think there is a bug somewhere, where the ICAP client does not send the (response) body as part of the RESPMOD, despite there being one, and just getting stuck somehow.