Repository navigation
v6.2.2
Patch Changes
-
#690
1029314Thanks @Haasini-kudala! - Support crossws 0.4 by selecting the GraphQL WebSocket subprotocol during the upgrade handshake. Preserve automatic protocol negotiation in the legacy crossws 0.3 Node and uWebSockets adapters. -
#686
536960eThanks @cpruijsen! - Fix the CrossWS adapter ignoring socket closes issued fromserver.openedmakeHooksonly registered the peer in the clients map afterserver.openedreturned, whilesend/closeno-op'd unless the peer was already in that map. A protocol-mismatch close (and any other close from insideopened) was therefore dropped, the WebSocket stayed open, and noConnectionAckwas ever sent because the message handler was never installed.