httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject cvs commit: httpd-2.0/server protocol.c
Date Fri, 25 Jan 2002 01:20:01 GMT
jerenkrantz    02/01/24 17:20:00

  Modified:    server   protocol.c
  Log:
  Somehow, I lost this condition when I changed to account for ap_rgetline.
  
  Revision  Changes    Path
  1.69      +1 -1      httpd-2.0/server/protocol.c
  
  Index: protocol.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/protocol.c,v
  retrieving revision 1.68
  retrieving revision 1.69
  diff -u -r1.68 -r1.69
  --- protocol.c	25 Jan 2002 01:11:47 -0000	1.68
  +++ protocol.c	25 Jan 2002 01:20:00 -0000	1.69
  @@ -661,7 +661,7 @@
            * finding the end-of-line.  This is only going to happen if it 
            * exceeds the configured limit for a field size.
            */
  -        if (rv == APR_ENOSPC) {
  +        if (rv == APR_ENOSPC || len > r->server->limit_req_fieldsize) {
               r->status = HTTP_BAD_REQUEST;
               apr_table_setn(r->notes, "error-notes",
                   apr_pstrcat(r->pool,
  
  
  

Mime
View raw message