--------------------- PatchSet 5955 Date: 2003/09/23 23:47:34 Author: dwsquid Branch: icap-2_5 Tag: (none) Log: handle ICAP "100 continue" responses (outside of preview mode) Members: src/icap_respmod.c:1.1.2.2->1.1.2.3 Index: squid/src/icap_respmod.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/Attic/icap_respmod.c,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -u -r1.1.2.2 -r1.1.2.3 --- squid/src/icap_respmod.c 23 Sep 2003 22:41:16 -0000 1.1.2.2 +++ squid/src/icap_respmod.c 23 Sep 2003 23:47:34 -0000 1.1.2.3 @@ -1,5 +1,5 @@ /* - * $Id: icap_respmod.c,v 1.1.2.2 2003/09/23 22:41:16 dwsquid Exp $ + * $Id: icap_respmod.c,v 1.1.2.3 2003/09/23 23:47:34 dwsquid Exp $ * * DEBUG: section 81 Internet Content Adaptation Protocol (ICAP) Client * AUTHOR: Geetha Manjunath, Hewlett Packard Company @@ -375,6 +375,11 @@ comm_close(fd); return; } + if (100 == status) { + debug(81, 0) ("icapRespModReadReply: 100 Continue received!\n"); + commSetSelect(fd, COMM_SELECT_READ, icapRespModReadReply, icap, 0); + return; + } icap->flags.keep_alive = 0; /* XXX */ if (204 == status) { debug(81, 3) ("got 204 status from ICAP server\n");