[asterisk-bugs] [JIRA] (ASTERISK-20745) In MESSAGE received over WebSocket, the body last char is cut
Iñaki Baz Castillo (JIRA)
noreply at issues.asterisk.org
Tue Nov 27 11:24:45 CST 2012
Iñaki Baz Castillo created ASTERISK-20745:
---------------------------------------------
Summary: In MESSAGE received over WebSocket, the body last char is cut
Key: ASTERISK-20745
URL: https://issues.asterisk.org/jira/browse/ASTERISK-20745
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Channels/chan_sip/WebSocket
Affects Versions: 11.0.1
Reporter: Iñaki Baz Castillo
When Asterisk receives a SIP MESSAGE over WebSocket it cuts the last char of the body. So if for example the MESSAGE contains "Content-Length: 4" and a body with content "1234" (without quotes), the Asterisk debug console prints the body as "123", and then it forwards the MESSAGE with "123" as body.
This bug seems not to occur when the SIP MESSAGE arrives via SIP over TCP or UDP, so it must be a bug in the SIP WebSocket layer/parser.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list