akka/akka-core

akka.io Tcp Connect should have a default timeout

開放

#16,027 建立於 2014年10月2日

 (5 則留言) (0 個反應) (0 位負責人)Scala (3,547 個分叉)batch import
1 - triagedhelp wantedt:io

倉庫指標

星標
 (13,277 顆星)
PR 合併指標
 (平均合併 8天 19小時) (30 天內合併 10 個 PR)

描述

When creating a tcp connection with Tcp.Connect(address), there is no default timeout. That means the connection will just try to connect, fail and sit there doing nothing. It does not seem like a proper behavior. That means by default you won't be notified if the tcp connection does not succeed.

There should be a default connection timeout.

貢獻者指南