> On Feb 6, 2023, at 2:57 AM, Daniel Stenberg via curl-library > <curl-library@lists.haxx.se> wrote: > > On Fri, 3 Feb 2023, Dmitry Karpov via curl-library wrote: > >> So, if we are talking about roadmap for future WebSocket features, I think >> that the “message” level support and implementation should be the next step. > > I agree that it makes sense to rather deliver full messages than "just" full > frames. It has the same challenge though: since frames can be ridiculously > large, messages can be even larger. Do we have a set maximum limit or do we > just allow any size up until malloc fails?
I’d say make it tunable, with a reasonable default. If a message exceeds that maximum, close the connection with code 1009. -FG -- Unsubscribe: https://lists.haxx.se/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html