akka/akka-http

Would it be possible to idleTimeout set in a directive

Ouverte

#71 ouverte le 8 sept. 2016

 (6 commentaires) (0 réaction) (0 personne assignée)Scala (598 forks)batch import
1 - triageddiscusshelp wantednice-to-have (low-prio)

Métriques du dépôt

Stars
 (1 311 étoiles)
Métriques de merge PR
 (Merge moyen 1j 10h) (2 PRs mergées en 30 j)

Description

Issue by ktoso Thursday Mar 10, 2016 at 23:44 GMT Originally opened as https://github.com/akka/akka/issues/20007


Interesting question, as we have RequestTimeouts, however idleTimeout is confusing a lot of people nowadays. We'll not log DEBUG soon already, but with websockets people most likely will want to have long lived ones actually...

We should investigate what it would take to have a withoutIdleTimeout {} directive etc.

:point_up: March 11, 2016 12:35 AM

// I did not think it through from an impl perspective, but idea is interesting.

Guide contributeur