]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
missed another spot to use ERR_TOO_BIG
authorwessels <>
Tue, 11 May 1999 01:45:55 +0000 (01:45 +0000)
committerwessels <>
Tue, 11 May 1999 01:45:55 +0000 (01:45 +0000)
src/client_side.cc

index 37d714ea11f322106b171ae31c80fbbfaf637c08..1cfb84997df52c3ff1f5556488132779009c95c6 100644 (file)
@@ -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);