projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7282937
)
Reverse proxy: default max read duration at 30 secs.
author
href
<href@random.sh>
Fri, 30 Nov 2018 18:12:03 +0000
(19:12 +0100)
committer
href
<href@random.sh>
Fri, 30 Nov 2018 18:12:03 +0000
(19:12 +0100)
lib/pleroma/reverse_proxy.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/reverse_proxy.ex
b/lib/pleroma/reverse_proxy.ex
index dc1c50d07d951919d33d81cffd81967eb6d83ed8..ad9dc82fe02a653bd9fd3a1272b509b4a5b430d2 100644
(file)
--- a/
lib/pleroma/reverse_proxy.ex
+++ b/
lib/pleroma/reverse_proxy.ex
@@
-5,7
+5,7
@@
defmodule Pleroma.ReverseProxy do
~w(content-type content-disposition content-encoding content-range accept-ranges vary)
@default_cache_control_header "public, max-age=1209600"
@valid_resp_codes [200, 206, 304]
- @max_read_duration :timer.
minutes(2
)
+ @max_read_duration :timer.
seconds(30
)
@max_body_length :infinity
@methods ~w(GET HEAD)