dimsuz
10/28/2021, 4:44 PMwire
, does one need to disable okhttp connection timeouts for streaming?
I use
sendChannel.send(Request()); sendChannel.close()
receiveChannel.consumeEach { resp -> println(resp) }
and when I use BloomRPC this request is sent and then it hangs indefinetely if no response is arriving.
but when running above code with wire
, after several seconds it fails with SocketTimeoutException