小编Ati*_*tiq的帖子

akka http配置中的空闲超时和请求超时有什么区别?

我去了文档,发现了这些#空闲连接将自动关闭的时间。# 设置为infinite完全禁用空闲连接超时。空闲超时 = 10 秒

# Defines the default time period within which the application has to
# produce an HttpResponse for any given HttpRequest it received.
# The timeout begins to run when the *end* of the request has been
# received, so even potentially long uploads can have a short timeout.
# Set to `infinite` to completely disable request timeout checking.
#
# If this setting is not `infinite` the HTTP server layer attaches a
# …
Run Code Online (Sandbox Code Playgroud)

scala connection-timeout akka-http

6
推荐指数
1
解决办法
7334
查看次数

标签 统计

akka-http ×1

connection-timeout ×1

scala ×1