From: wessels <> Date: Thu, 11 Jun 1998 11:32:19 +0000 (+0000) Subject: stop reading NON-GET requests until they get resolved or forwarded X-Git-Tag: SQUID_3_0_PRE1~3141 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f7237ed2e2a87080e7de091677a02dd0dd0b4708;p=thirdparty%2Fsquid.git stop reading NON-GET requests until they get resolved or forwarded --- diff --git a/src/client_side.cc b/src/client_side.cc index 6c1510d757..d3762a7f46 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side.cc,v 1.336 1998/06/10 06:00:22 wessels Exp $ + * $Id: client_side.cc,v 1.337 1998/06/11 05:32:19 wessels Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -2469,6 +2469,11 @@ clientReadRequest(int fd, void *data) if (conn->in.offset) xmemmove(conn->in.buf, conn->in.buf + copy_len, conn->in.offset); } + /* + * ick; cancel the read handler for NON-GET requests + * until this request is forwarded/resolved + */ + commSetSelect(fd, COMM_SELECT_READ, NULL, NULL, 0); break; } continue; /* while offset > 0 */