akka/akka-core

akka.io Tcp Connect should have a default timeout

Aperta

#16.027 aperta il 2 ott 2014

 (5 commenti) (0 reazioni) (0 assegnatari)Scala (3547 fork)batch import
1 - triagedhelp wantedt:io

Metriche repository

Star
 (13.277 stelle)
Metriche merge PR
 (Merge medio 8g 19h) (10 PR mergiate in 30 g)

Descrizione

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.

Guida contributor