- changed status to resolved
Content-Length of passed EBCDIC data may not be the actual content length
Issue #19
resolved
If EBCDIC data is passed on the call to stomp_command_send and the content-length is passed this may not represent the actual content length in the encoding sent to the caller.
EBCDIC ä = 1 byte
UTF-8 ä = 2 bytes
The passed content length may only be used for copying the data into the frame buffer. The content-length header needs to be recalculated based on the encoded data.
Comments (2)
-
reporter -
reporter fixed content-length with multi byte content, fixed
#19→ <<cset 4dbc1f71b6fc>>
- Log in to comment
fixed