Please sign in to comment.
Fix autobahn case Case 1.1.6: message of 65536 bytes.
The message size is bigger than the tcp socket buffer size set by yaws. This buffer could possibly be made bigger but at some point we'll have to just read more data before the whole payload can be read. yaws_websocket:buffer/2 basically concatenates successive buffers, recursing until the payload is as long as the given Len. This is probably really dirty and quite slow for bigger messages. Have a look at cases 9.1.* for a laugh :)
- Loading branch information...
Showing with 37 additions and 6 deletions.