Skip to content

Commit

Permalink
docs(examples): increase httpd ProxyTimeout value
Browse files Browse the repository at this point in the history
With a value that is too small, the HTTP long-polling request receives
an HTTP 502 response code and the connection gets closed.
  • Loading branch information
darrachequesne committed Jun 20, 2023
1 parent 63f181c commit 3035c25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/cluster-httpd/httpd.conf
Expand Up @@ -51,4 +51,4 @@ RewriteRule /(.*) balancer://nodes_ws/$1 [P,L]
RewriteCond %{HTTP:Upgrade} !=websocket [NC]
RewriteRule /(.*) balancer://nodes_polling/$1 [P,L]

ProxyTimeout 3
ProxyTimeout 60 # must be bigger than pingInterval (25s by default) + pingTimeout (20s by default)

0 comments on commit 3035c25

Please sign in to comment.