-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
websocket client decided to send first a FIN then a continuation, which is not allowed?! (IDFGH-11736) #460
Comments
@0xFEEDC0DE64 thank you for rising an issue. |
I havent touched the rest of our code, just updated the esp-protocols, is it possible for existing API to keep its functionality and create new apis with different behaviours? especially since the websocket code still splits up messages, but does it incorrectly now |
I tried to fix the api here: |
seems like a regression from fae80e2
|
fix(websocket): continuation after FIN in websocket client (#460) (IDFGH-11761)
1.2.2 Bug Fixes - continuation after FIN in websocket client (espressif#460) (774d1c7) - Re-applie refs to common comps idf_component.yml (9fe44a4)
1.2.2 Bug Fixes - continuation after FIN in websocket client (espressif#460) (774d1c7) - Re-applie refs to common comps idf_component.yml (9fe44a4)
Answers checklist.
What component are you using? If you choose Other, provide details in More Information.
esp_websocket_client
component version
modem-v1.0.5
IDF version.
v5.3-dev-1043-g8c9e29898f
More Information.
websocket client unexpectatly sends first a FIN text message, then a continuation, which causese my websocket server to kick out esp32 connections.
I have added a few log statements to esp-protocols to follow this:
the first message succeeds as it has len=223 (which is <1024), the second message fails (which is >1024 and needs to be buffered in continue packets)
please revert to the old behaviour again, this feature was working for the past years without problems.
we are using esp-protocols as submodule which contains esp modem and esp websocket client for us. we only wanted to update esp_modem but for some reason both are stuck together in a monorepo, now we are facing this websocket issue
The text was updated successfully, but these errors were encountered: