https://kotlinlang.org logo
#ktor
Title
# ktor
b

bbaldino

05/18/2020, 4:42 AM
Something that I got bit by that I wonder if is intended: when using the
ktor-client-cio
client and creating a
WebSocket
connection, if the
HttpTimeout
feature is installed, it will apply to the
WebSocket
connection, even if the connection is actively transmitting messages back and forth. It seems like
WebSocket
should be considered an exception to
HttpTimeout
? If not, is it possible to configure
HttpTimeout
in a way that it could be applied to some requests (normal ones) but not things like a websocket connection?
@e5l any thoughts on this? should I file a bug?
2 Views