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.

貢獻者指南