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
_______________________________________________ fpc-pascal maillist - [email protected] https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
