akka/akka-http

Would it be possible to idleTimeout set in a directive

Aperta

#71 aperta il 8 set 2016

 (6 commenti) (0 reazioni) (0 assegnatari)Scala (598 fork)batch import
1 - triageddiscusshelp wantednice-to-have (low-prio)

Metriche repository

Star
 (1311 stelle)
Metriche merge PR
 (Merge medio 1g 10h) (2 PR mergiate in 30 g)

Descrizione

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.

Guida contributor