Hi, I am using Ktor websocket server with Netty engine, is there a way to not send data in the ping/pong frames? By default its sending garbage as payload
Well, is there a way to make that random string a constant?
p
Phil Richardson
11/15/2021, 11:22 AM
In the current implementation, no.
I am unsure ho viable it is to disable it via config and implement your own pinger though
m
Mr.NiceGuy
11/15/2021, 11:30 AM
Well, if you look at it in cyber security perspective, it's a vulnerability to allow 150 bytes of raw data to be transfered on the protocol, and because its random bytes you cannot filter it with json schema for example