summaryrefslogtreecommitdiff
path: root/extmod/asyncio/core.py
diff options
context:
space:
mode:
authorFelix Dörre <felix@dogcraft.de>2023-06-28 21:46:37 +0000
committerDamien George <damien@micropython.org>2024-02-26 12:20:40 +1100
commit8547a782750c12a163e0cd022fefc2aaaa4b1bb7 (patch)
tree9e1288c3dddcd9930740ffb650db3a12a5d4ab55 /extmod/asyncio/core.py
parentb5edaf68cd2f8bad2dbb3293038a11a9c2108a82 (diff)
extmod/modwebsocket: Fix websocket to send correct close frame.
When the websocket closes currently, it does not send a proper "close"-frame, but rather encodes the 0x8800-sequence inside a binary packet, which is wrong. The close packet is a different kind of websocket frame, according to https://www.rfc-editor.org/rfc/rfc6455. This change resolves an error in Firefox when the websocket closes. Signed-off-by: Felix Dörre <felix@dogcraft.de>
Diffstat (limited to 'extmod/asyncio/core.py')
0 files changed, 0 insertions, 0 deletions