akka/akka-core

akka.io Tcp Connect should have a default timeout

Offen

#16.027 geöffnet am 02.10.2014

 (5 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Scala (3.547 Forks)batch import
1 - triagedhelp wantedt:io

Repository-Metriken

Stars
 (13.277 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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.

Contributor Guide