httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1086761 - in /httpd/httpd/trunk: CHANGES include/http_config.h
Date Tue, 29 Mar 2011 21:38:03 GMT
Author: sf
Date: Tue Mar 29 21:38:03 2011
New Revision: 1086761

URL: http://svn.apache.org/viewvc?rev=1086761&view=rev
Log:
Add CHANGES entry for r1086756 / ap_cfg_* change
Update docs for ap_cfg_getc

Modified:
    httpd/httpd/trunk/CHANGES
    httpd/httpd/trunk/include/http_config.h

Modified: httpd/httpd/trunk/CHANGES
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/CHANGES?rev=1086761&r1=1086760&r2=1086761&view=diff
==============================================================================
--- httpd/httpd/trunk/CHANGES [utf-8] (original)
+++ httpd/httpd/trunk/CHANGES [utf-8] Tue Mar 29 21:38:03 2011
@@ -2,6 +2,10 @@
 
 Changes with Apache 2.3.12
 
+  *) core: Change the APIs of ap_cfg_getline() and ap_cfg_getc() to return an
+     error code. Abort with a nice error message if a config line is too long.
+     Partial fix for PR 50824. [Stefan Fritsch]
+
   *) mod_info: Dump config to stdout during startup if -DDUMP_CONFIG is
      specified. [Stefan Fritsch]
 

Modified: httpd/httpd/trunk/include/http_config.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/include/http_config.h?rev=1086761&r1=1086760&r2=1086761&view=diff
==============================================================================
--- httpd/httpd/trunk/include/http_config.h (original)
+++ httpd/httpd/trunk/include/http_config.h Tue Mar 29 21:38:03 2011
@@ -786,8 +786,9 @@ AP_DECLARE(apr_status_t) ap_cfg_getline(
 
 /**
  * Read one char from open configfile_t, increase line number upon LF 
+ * @param ch place to store the char read
  * @param cfp The file to read from
- * @return the character read
+ * @return error status
  */
 AP_DECLARE(apr_status_t) ap_cfg_getc(char *ch, ap_configfile_t *cfp);
 



Mime
View raw message