This patch allows message bodies greater than 9999 bytes. Very large messages (total length > 64K) can only be sent over TCP/TLS. Patch tested with 500K message body under TCP and standard (uac/uas) scenarios using UDP and TCP.
Changes are as follows:
Function rewritten to strip white space as it copies. Original code would traverse & move data within message body repeatedly to strip white space. Took *minutes* on 500K byte body.
Changed max values from 64K to 640K.
Add two characters to content-length field, and 600k message bodies.
Log in to post a comment.