The example used to by filer to reprdouce the bug isn't correct.
Here are the errors in that example:
In RFC 3251 (unlike 2543), lines MUST terminate with CRLF. The example only had LF.
This is a change from 2543. See the BNF in 3261 and they also have a statement about
this difference between the two versions on Section 28.1 page 256, which says:
"In RFC 2543, lines in a message could be terminated with CR, LF,
or CRLF. This specification only allows CRLF."
Missed CRLF on the Content-Length header
Must have double CRLF between headers and body of message. In the example
provided, the last header in the message was Content-Length and there was
no extra CRLF between it and the body.
One the above misformatting was corrected, the example works just fine.
See unit test.
Note, I did find a bug in handing the Allow-Events header though. Filing a different bug for that.
The example used to by filer to reprdouce the bug isn't correct. Here are the errors in that example:
One the above misformatting was corrected, the example works just fine. See unit test.
Note, I did find a bug in handing the Allow-Events header though. Filing a different bug for that.