--------------------- PatchSet 5988 Date: 2003/10/23 19:30:11 Author: uid131750 Branch: icap-2_5 Tag: (none) Log: support an ICAP REQMOD response that contains an HTTP REPLY. This requires icapReadReply() to be global instead of static. Members: src/icap_respmod.c:1.1.2.8->1.1.2.9 Index: squid/src/icap_respmod.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/Attic/icap_respmod.c,v retrieving revision 1.1.2.8 retrieving revision 1.1.2.9 diff -u -r1.1.2.8 -r1.1.2.9 --- squid/src/icap_respmod.c 17 Oct 2003 15:13:21 -0000 1.1.2.8 +++ squid/src/icap_respmod.c 23 Oct 2003 19:30:11 -0000 1.1.2.9 @@ -1,5 +1,5 @@ /* - * $Id: icap_respmod.c,v 1.1.2.8 2003/10/17 15:13:21 dwsquid Exp $ + * $Id: icap_respmod.c,v 1.1.2.9 2003/10/23 19:30:11 uid131750 Exp $ * * DEBUG: section 81 Internet Content Adaptation Protocol (ICAP) Client * AUTHOR: Geetha Manjunath, Hewlett Packard Company @@ -36,7 +36,7 @@ static CWCB icapSendRespModDone; static PF icapRespModGobble; -static PF icapReadReply; +extern PF icapReadReply; static int icapReadReply2(IcapStateData * icap, const char *buf, int len); static void icapReadReply3(IcapStateData * icap); static CNCB icapConnectOver; @@ -804,7 +804,7 @@ * by the time this is called, the ICAP headers have already * been read. */ -static void +void icapReadReply(int fd, void *data) { IcapStateData *icap = data;