httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: Really big regex results from ap_pregsub
Date Fri, 14 Oct 2011 12:46:58 GMT

On Oct 13, 2011, at 4:30 PM, William A. Rowe Jr. wrote:
> 
> The largest string value applicable to header values, to URI's
> and any presentation string (to errorlog or access log etc) is
> MAX_STRING_LEN.  The longest config line is MAX_STRING_LEN.
> I don't see a lot of reasons supporting something longer.

Pre-2.4 that is true, but not on trunk…
> 
> 
> This was always unambiguous, NULL on error.  The doxygen has *nothing*
> to say about the result value.
> 
> So... I'd suggest we fix cases that did not expect NULL and return NULL
> on any substitution failure.  I don't even see the need for an MMN bump.
> 

For trunk? Yes. For pre-2.4? Not so sure (due to external modules)…
but I'll go along with it.
Mime
View raw message