/*
- * $Id: client_side.cc,v 1.378 1998/08/16 06:35:15 wessels Exp $
+ * $Id: client_side.cc,v 1.379 1998/08/17 16:38:07 wessels Exp $
*
* DEBUG: section 33 Client-side Routines
* AUTHOR: Duane Wessels
break;
}
http->request = requestLink(request);
- clientAccessCheck(http);
/*
* break here for NON-GET because most likely there is a
* reqeust body following and we don't want to parse it
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
+ * if we didn't get the full body now, then more will
+ * be arriving on the client socket. Lets cancel
+ * the read handler until this request gets forwarded.
*/
- commSetSelect(fd, COMM_SELECT_READ, NULL, NULL, 0);
- break;
+ if (request->body_sz < cont_len)
+ commSetSelect(fd, COMM_SELECT_READ, NULL, NULL, 0);
}
+ clientAccessCheck(http);
continue; /* while offset > 0 */
} else if (parser_return_code == 0) {
/*