Hi Julien, thanks for the info. The point in your second response is correct.
When we do an abrupt server close (in our test), we don't see a close frame being sent (in either direction). We only see the disconnect (FIN).
By abrupt server close, I mean:
httpServer.close();
Please see the attached images taken from WireShark, showing the relevant comms between the client -> proxy -> server:
- proxy-392.jpg shows the comms using Vert.x 3.9.2 - and clearly shows the websocket close frames being sent prior to the FIN (commencing at packet no 15850).
- proxy-393.jpg shows the comms using Vert.x 3.9.3 - and shows only the connection closure (FIN - beginning with packet no 207):
The proxy is sitting on port 8787 and just passes messages received backwards and forwards between the client and server.
The server is sitting on port 7878.
Please let me know if you would like a reproducer.
Kind regards, Wayne