This fix helps the ICAP client to detect aborts and to announce the end of the
HTTP message to the ICAP server.
A bigger problem is that the HTTP side is using the adapted response to make
decisions about the origin server connection. That bug still needs to be
fixed.
/*
- * $Id: Server.cc,v 1.19 2007/08/01 04:18:08 rousskov Exp $
+ * $Id: Server.cc,v 1.20 2007/08/02 19:32:22 rousskov Exp $
*
* DEBUG:
* AUTHOR: Duane Wessels
reply->body_pipe = virginBodyDestination;
debugs(93, 6, HERE << "will send virgin reply body to " <<
virginBodyDestination << "; size: " << size);
+ if (size > 0)
+ virginBodyDestination->setBodySize(size);
}
adaptedHeadSource = initiateIcap(