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 合并指标
 (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.

贡献者指南