Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

Disable HTTP KeepAlive for jsonrpc #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions bin/machine-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,11 @@ frontend https

backend jsonrpc
mode http
# Until https://github.com/paritytech/jsonrpc/issues/577 is fixed...
# Without this option, haproxy would multiplex unrelated requests into
# a single server-side keep-alive connection, causing innocent lightweight
# requests are choked on preceeding long ones.
option http-server-close
server rpc 127.0.0.1:8899

backend pubsub
Expand Down