Skip to content

Commit

Permalink
also disable NODELAY when we have multiple chunks to write
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@21495 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jan 29, 2019
1 parent 11ce157 commit 3407e36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/net/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ def write_items(self, buf_data, start_cb=None, end_cb=None, fail_cb=None, synchr
conn = self._conn
if not conn:
return False
if more:
if more or len(buf_data)>1:
conn.set_nodelay(False)
if start_cb:
try:
Expand Down

0 comments on commit 3407e36

Please sign in to comment.