Dear Squid users,
I'd like to know what the following code is for in the httpReadReply(int fd, void *data) function from src/http.c in 2.2-STABLE5
/* } else iF (len == 0 && entry->mem_obj->inmem_hi == 0) {
* debug(50, 5) ("httpReadReply: FD %d: read failure: %s.\n",
* fd, xstrerror());
* ErrorState *err;
* err = errorCon(ERR_ZERO_SIZE_OBJECT, HTTP_SERVICE_UNAVAILABLE);
* err->xerrno = errno;
* fwdFail(httpState->fwd, err);
* httpState->eof = 1;
* comm_close(fd);
*/
Is it only for RFC compliance ?
I have already post a few questions on the list by the past about using G2 RealPlayer through Squid http proxy, with no real answer to my real problem. The Squid proxy replies to the player with X-Squid-Error: ERR_ZERO_SIZE_OBJECT messages
I have commented out all these lines in the httpReadReply(int fd, void *data) function and it works now !
So, Is my squid proxy going to hang and core-dump ? When ? Often ?
How can I tell Squid to ignore ZERO_SIZE_OBJECT ?
Thanks
Received on Wed Aug 02 2000 - 04:44:15 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:54:41 MST