httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 55910] Continuation lines are broken during buffer resize
Date Sun, 17 Aug 2014 17:18:49 GMT

Manuel Mausz <> changed:

           What    |Removed                     |Added
  Attachment #31133|0                           |1
        is obsolete|                            |

--- Comment #3 from Manuel Mausz <> ---
Created attachment 31923

Since there doesn't seem to be much interest in fixing this edge case of the
parser, I decided to rewrite the patch to be more sane. The outcome is

Instead of adding a grown-flag to indicate we can look behind the first byte,
the function now expects the whole buffer, it's actual size and the current
offset to write to.

Additional I've fixed a bug in the "getch"-branch that also happens during
buffer resize. The APR_ENOSPC check is *before* storing the current character.
So this one gets lost.

I've checked both branches against all our webservers and there were no parsing

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message