Skip to content

Commit 3035c25

Browse files
docs(examples): increase httpd ProxyTimeout value
With a value that is too small, the HTTP long-polling request receives an HTTP 502 response code and the connection gets closed.
1 parent 63f181c commit 3035c25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/cluster-httpd/httpd.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ RewriteRule /(.*) balancer://nodes_ws/$1 [P,L]
5151
RewriteCond %{HTTP:Upgrade} !=websocket [NC]
5252
RewriteRule /(.*) balancer://nodes_polling/$1 [P,L]
5353

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

0 commit comments

Comments
 (0)