java - Delay when closing Tyrus WebSocket Sessions -


i'm building service tyrus in standalone mode (grizzly server) send huge amounts of binary data via ws client. in setup, service located behind proxy server, data send, first buffered @ proxy , after proxy in unix send buffer.

at point in transfer, want serverside close connection. when so, client gets onclose event data waiting in buffer , proxy sent.

this behavior, messages handled sequentiell , therefore close message last 1 recieved client, understandable.

but need way close websocket connection in realtime. underlying tcp connection close , therefor client won't ever remaining data stored in send buffer , proxy.

does got idea how create such behavior tyrus api?


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -