oatpp / oatpp-websocket

oatpp-websocket submodule.
https://oatpp.io/
Apache License 2.0
78 stars 32 forks source link

chrome receives wrong reserved bits #17

Closed longlonghands closed 4 years ago

longlonghands commented 4 years ago

Sometimes when I trying to connect to WebSocket server using Chrome I get this error: One or more reserved bits are on: reserved1 = 1, reserved2 = 1, reserved3 = 1

can you help me figure out what is going wrong? Chrome is the latest version (79). and the oat-websocket version is 0.19.9. and I'm sending big messages (from 1K to 1MB) using simple non-async WebSocket.

lganzzzo commented 4 years ago

Hello @longlonghands ,

Please try to update oatpp to the 0.19.12 version. A lot of bugs were fixed since 0.19.9.

Please let me know if the issue still there after the update.

Best Regards, Leonid

longlonghands commented 4 years ago

Hello Leonid, Thank you for your prompt response. I hope your suggestion will resolve the issue. I'm gonna update the library and will test it. I will inform you of the results for sure. but it will take some time.

Best, Shahin

lganzzzo commented 4 years ago

No worries, I'll wait for results.

Regards, Leonid

longlonghands commented 4 years ago

Hi Leonid, After updating to 0.9.12 and running the code in multiple environments, I think the issue has been resolved. So I'm gonna close this issue. Thanks again for your great work. oatpp seems an incredible library to be used in C++ projects.

Regards, Shahin

lganzzzo commented 4 years ago

Hey @longlonghands , Thanks for the test, and for posting the result!