SWI-Prolog / packages-http

The SWI-Prolog HTTP server and client libraries
23 stars 23 forks source link

FIXED: Ping and pong frames may contain non-utf8 "Application data" #151

Closed likelion closed 2 years ago

likelion commented 2 years ago

According to RFC 6455, section 5.5.2:

A Ping frame MAY include "Application data".

But it does not mandate the "Application data" to be in UTF-8 encoding. Assuming UTF-8 breaks compatibility with other WebSocket libraries.