{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/jetty.project/issues/533","repository_url":"https://api.github.com/repos/eclipse/jetty.project","labels_url":"https://api.github.com/repos/eclipse/jetty.project/issues/533/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/jetty.project/issues/533/comments","events_url":"https://api.github.com/repos/eclipse/jetty.project/issues/533/events","html_url":"https://github.com/eclipse/jetty.project/issues/533","id":151699468,"number":533,"title":"Websocket - PerMessageDeflateExtension Limit to 8KBytes","user":{"login":"Marco85Li","id":10548543,"avatar_url":"https://avatars.githubusercontent.com/u/10548543?v=3","gravatar_id":"","url":"https://api.github.com/users/Marco85Li","html_url":"https://github.com/Marco85Li","followers_url":"https://api.github.com/users/Marco85Li/followers","following_url":"https://api.github.com/users/Marco85Li/following{/other_user}","gists_url":"https://api.github.com/users/Marco85Li/gists{/gist_id}","starred_url":"https://api.github.com/users/Marco85Li/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marco85Li/subscriptions","organizations_url":"https://api.github.com/users/Marco85Li/orgs","repos_url":"https://api.github.com/users/Marco85Li/repos","events_url":"https://api.github.com/users/Marco85Li/events{/privacy}","received_events_url":"https://api.github.com/users/Marco85Li/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eclipse/jetty.project/labels/Bug","name":"Bug","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"joakime","id":191721,"avatar_url":"https://avatars.githubusercontent.com/u/191721?v=3","gravatar_id":"","url":"https://api.github.com/users/joakime","html_url":"https://github.com/joakime","followers_url":"https://api.github.com/users/joakime/followers","following_url":"https://api.github.com/users/joakime/following{/other_user}","gists_url":"https://api.github.com/users/joakime/gists{/gist_id}","starred_url":"https://api.github.com/users/joakime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joakime/subscriptions","organizations_url":"https://api.github.com/users/joakime/orgs","repos_url":"https://api.github.com/users/joakime/repos","events_url":"https://api.github.com/users/joakime/events{/privacy}","received_events_url":"https://api.github.com/users/joakime/received_events","type":"User","site_admin":false},"assignees":[{"login":"joakime","id":191721,"avatar_url":"https://avatars.githubusercontent.com/u/191721?v=3","gravatar_id":"","url":"https://api.github.com/users/joakime","html_url":"https://github.com/joakime","followers_url":"https://api.github.com/users/joakime/followers","following_url":"https://api.github.com/users/joakime/following{/other_user}","gists_url":"https://api.github.com/users/joakime/gists{/gist_id}","starred_url":"https://api.github.com/users/joakime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joakime/subscriptions","organizations_url":"https://api.github.com/users/joakime/orgs","repos_url":"https://api.github.com/users/joakime/repos","events_url":"https://api.github.com/users/joakime/events{/privacy}","received_events_url":"https://api.github.com/users/joakime/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2016-04-28T17:29:48Z","updated_at":"2016-08-17T23:58:51Z","closed_at":null,"body":"Hi all,\r\n\r\nI'm using CometD through web socket connections and on Google Chrome I can see that frames larger than 8 KB are truncated (I used the network debug tool of Chrome to analyze the content of the decompressed frames).\r\nI configured ws.maxMessageSize to 1 MB to stress this case.\r\nThe same configuration doesn't create any problem on Internet Explorer or using the Java client.\r\n\r\nDisabling server side PerMessageDeflateExtension all works perfectly.\r\n\r\nI investigated a bit in the Jetty PerMessageDeflateExtension (CompressExtension) code and I found several buffers limited to 8 KB.\r\nCan this be the root cause of the issue that I'm experiencing?\r\n\r\nI'm using a branch based on Jetty 9.3.7: https://github.com/eclipse/jetty.project/tree/bugs/388\r\nChrome version 49.0.2623.112 m\r\n\r\nMarco"},"comment":{"url":"https://api.github.com/repos/eclipse/jetty.project/issues/comments/240585579","html_url":"https://github.com/eclipse/jetty.project/issues/533#issuecomment-240585579","issue_url":"https://api.github.com/repos/eclipse/jetty.project/issues/533","id":240585579,"user":{"login":"joakime","id":191721,"avatar_url":"https://avatars.githubusercontent.com/u/191721?v=3","gravatar_id":"","url":"https://api.github.com/users/joakime","html_url":"https://github.com/joakime","followers_url":"https://api.github.com/users/joakime/followers","following_url":"https://api.github.com/users/joakime/following{/other_user}","gists_url":"https://api.github.com/users/joakime/gists{/gist_id}","starred_url":"https://api.github.com/users/joakime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joakime/subscriptions","organizations_url":"https://api.github.com/users/joakime/orgs","repos_url":"https://api.github.com/users/joakime/repos","events_url":"https://api.github.com/users/joakime/events{/privacy}","received_events_url":"https://api.github.com/users/joakime/received_events","type":"User","site_admin":false},"created_at":"2016-08-17T23:58:51Z","updated_at":"2016-08-17T23:58:51Z","body":"Sending / Receiving whole messages at 8k should be easy for a browser to handle.\r\n\r\nBrowser very much support receiving highly fragmented websocket messages, that's part of the websocket spec (and we have manual tests we use to exercise this concept on any browser of our choice).\r\n\r\nThe WebSocket API on the browser, on the other hand, does not support sending partial messages, nor does it support receiving partial message events.  As the API is focused on the messaging, not the protocol."}}
{"actor":{"display_login":"joakime"}}