[fpc-pascal] Websocket
Roger Olsson
roger.olsson at gmail.com
Mon Sep 7 02:03:46 CEST 2026
Hi Michael,
The client-side HTTP-to-WebSocket upgrade was tested against server,
including TLS connections and reconnects. FPC’s server-side
TCustomWebsocketUpgrader was not tested. I only checked it statically. The
only server-visible change is the addition of the non-virtual
TWSTransport.InterruptRead; it is called exclusively by
TWSThreadMessagePump in fpwebsocketclient. wsupgrader, fpcustwsserver, and
fpwebsocketserver do not call it.
Therefore I do not expect the server upgrade path to change, but I agree
that this needs a real regression test. Is there an existing upgrader test
you would prefer me to extend?
Roger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20260907/be679e47/attachment.htm>
More information about the fpc-pascal
mailing list