akka/akka-http

Would it be possible to idleTimeout set in a directive

开放

#71 创建于 2016年9月8日

 (6 条评论) (0 个反应) (0 位负责人)Scala (598 个派生)batch import
1 - triageddiscusshelp wantednice-to-have (low-prio)

仓库指标

星标
 (1,311 个星标)
PR 合并指标
 (平均合并 1天 10小时) (30 天内合并 2 个 PR)

描述

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.

贡献者指南