akka / akka/akka-http

Would it be possible to idleTimeout set in a directive

Open
#71 6 comments 0 reactions 0 assignees View on GitHub
1 - triaged discuss help wanted nice-to-have (low-prio)
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.