akka/akka-http

Would it be possible to idleTimeout set in a directive

Open

#71 opened on Sep 8, 2016

View on GitHub
 (6 comments) (0 reactions) (0 assignees)Scala (598 forks)batch import
1 - triageddiscusshelp wantednice-to-have (low-prio)

Repository metrics

Stars
 (1,311 stars)
PR merge metrics
 (Avg merge 1d 10h) (2 merged PRs in 30d)

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.

Contributor guide