From: wessels <> Date: Tue, 11 May 1999 01:45:55 +0000 (+0000) Subject: missed another spot to use ERR_TOO_BIG X-Git-Tag: SQUID_3_0_PRE1~2208 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=321e06a67610eed03a8153c5488788ec0df907a1;p=thirdparty%2Fsquid.git missed another spot to use ERR_TOO_BIG --- diff --git a/src/client_side.cc b/src/client_side.cc index 37d714ea11..1cfb84997d 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side.cc,v 1.453 1999/05/10 19:43:36 wessels Exp $ + * $Id: client_side.cc,v 1.454 1999/05/10 19:45:55 wessels Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -2432,8 +2432,7 @@ clientReadRequest(int fd, void *data) if (request->body_sz < cont_len) commSetSelect(fd, COMM_SELECT_READ, NULL, NULL, 0); if (cont_len > Config.maxRequestBodySize) { - err = errorCon(ERR_INVALID_REQ, - HTTP_REQUEST_ENTITY_TOO_LARGE); + err = errorCon(ERR_TOO_BIG, HTTP_REQUEST_ENTITY_TOO_LARGE); err->request = requestLink(request); http->entry = clientCreateStoreEntry(http, METHOD_NONE, null_request_flags);