Le 28/01/2014 20:40, j...@apache.org a écrit :
Author: jim
Date: Tue Jan 28 19:40:17 2014
New Revision: 1562174

URL: http://svn.apache.org/r1562174
Log:
Merge r1556206 from trunk:

avoid a tight busy loop with memory allocations when the [N] flag
isn't making progress.

If backported, probably increase the hard-coded limit to 32k from 10k.


Modified: httpd/httpd/branches/2.4.x/modules/mappers/mod_rewrite.c
URL: 
http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/modules/mappers/mod_rewrite.c?rev=1562174&r1=1562173&r2=1562174&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/modules/mappers/mod_rewrite.c (original)
+++ httpd/httpd/branches/2.4.x/modules/mappers/mod_rewrite.c Tue Jan 28 
19:40:17 2014
@@ -231,6 +231,9 @@ static const char* really_last_key = "re
  #define subreq_ok(r) (!r->main || \
      (r->main->uri && r->uri && strcmp(r->main->uri, r->uri)))
+#ifndef REWRITE_MAX_ROUNDS
+#define REWRITE_MAX_ROUNDS 32000
+#endif

Should trunk be synch with 2.4.x with this 32000 limit ?

CJ

Reply via email to