Commit d927965f22d4a5d31a86f208bba67cf21e6101b5

Nick Mathewson 2011-06-06T15:33:27

Fix a bug in the improved EOL_CRLF code When searching for a CRLF, it would find an LF, then look for a preceding CR if not at the start of the buffer. That's fine when we're starting from the beginning of the buffer, but if we're starting at (say) byte 100, and we have that byte == LF, we shouldn't check for a CR at byte 99.