akka/akka-core

akka.io Tcp Connect should have a default timeout

オープン

#16,027 opened on 2014/10/02

 (5 件のコメント) (0 件のリアクション) (0 人の担当者)Scala (3,547 件のフォーク)batch import
1 - triagedhelp wantedt:io

Repository metrics

Stars
 (13,277 個のスター)
PR merge metrics
 (平均マージ 8d 19h) (30d で 10 merged PRs)

説明

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.

コントリビューターガイド