akka/akka-core

akka.io Tcp Connect should have a default timeout

Ouverte

#16 027 ouverte le 2 oct. 2014

 (5 commentaires) (0 réaction) (0 personne assignée)Scala (3 547 forks)batch import
1 - triagedhelp wantedt:io

Métriques du dépôt

Stars
 (13 277 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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.

Guide contributeur