You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/05/02 17:29:44 UTC
DO NOT REPLY [Bug 44925] New: mod_rewrite external map program runs
out of sync after reading response longer 2047 bytes
https://issues.apache.org/bugzilla/show_bug.cgi?id=44925
Summary: mod_rewrite external map program runs out of sync after
reading response longer 2047 bytes
Product: Apache httpd-2
Version: 2.0.63
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_rewrite
AssignedTo: bugs@httpd.apache.org
ReportedBy: matthias.lehr@siemens.com
mod_rewrite external map program runs out of sync
after reading response longer than LONG_STRING_LEN-1 (2047 bytes)
Reading from fpout terminates after reading an '\n' character
if the response is shorter than LONG_STRING_LEN-1.
But if not, reading stops after 2047 bytes and the remaining characters
are left in the fpout pipe.
Steps to reproduce:
write an external rewriting program returning reponses longer than 2048 Bytes
Actual Results:
fpout pipe runs out of sync and the next call of the filter returns
the remaining bytes as response.
Workaround:
limit output length in external rewriting program
Expected:
- an error log entry if LONG_STRING_LEN-1 is reached while reading
- hint in the documentation of external rewrite program regarding this size
limit
Optional:
read the remaining bytes into a dummy buffer until '\n' is reached
add dynamic buffers for the response read
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 44925] mod_rewrite external map program runs out
of sync after reading response longer 2047 bytes
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44925
André Malo <nd...@perlig.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |LATER
--- Comment #1 from André Malo <nd...@perlig.de> 2008-05-02 13:56:37 PST ---
This was fixed a long time ago for 2.2 and later.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org