Would it be possible to idleTimeout set in a directive
- Dominant language
- Scala
- Stars
- 1.4k
- Forks
- 584
- Avg merge
- 14h 33m
- Merged PRs (30d)
- 24
Description
**Issue by [ktoso](https://github.com/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](https://gitter.im/akka/akka?at=56e204be9f24605773d7189d)
// I did not think it through from an impl perspective, but idea is interesting.
Contributor guide
Research direction
Start by investigating how idleTimeout and RequestTimeouts are currently implemented and exposed through HTTP directives. Compare the proposed withoutIdleTimeout directive with the existing timeout behavior, and define done as a reviewed approach for supporting long-lived connections such as websockets.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100