Skip to content
Draft
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
4 changes: 4 additions & 0 deletions test-server/esdk_test_server/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ class RpcV2CborHandler(BaseHTTPRequestHandler):
# each response (the HTTP/1.0 default, which caused intermittent
# "received no bytes" transport errors on reused connections).
protocol_version = "HTTP/1.1"
# Send each response as soon as it is written. The handler writes the headers
# and body separately, and with Nagle on the body waits ~50 ms for the
# client to ACK the headers.
disable_nagle_algorithm = True

# Quiet the default per-request stderr logging.
def log_message(self, *args): # noqa: D401
Expand Down
Loading