summaryrefslogtreecommitdiff
path: root/sleekxmpp/test/livesocket.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-08-25 15:08:45 -0700
committerLance Stout <lancestout@gmail.com>2011-08-25 15:08:45 -0700
commitb8a4ffece9d176b4b9a594681fa58668f2cad42f (patch)
tree074259ff3b75271bed14b5eac2e331de067533e7 /sleekxmpp/test/livesocket.py
parentd929e0deb2ecc6a4b4da7136cba00cb7492573b7 (diff)
downloadslixmpp-b8a4ffece9d176b4b9a594681fa58668f2cad42f.tar.gz
slixmpp-b8a4ffece9d176b4b9a594681fa58668f2cad42f.tar.bz2
slixmpp-b8a4ffece9d176b4b9a594681fa58668f2cad42f.tar.xz
slixmpp-b8a4ffece9d176b4b9a594681fa58668f2cad42f.zip
Handle sending stanzas in chunks if the socket has poor performance.
Diffstat (limited to 'sleekxmpp/test/livesocket.py')
-rw-r--r--sleekxmpp/test/livesocket.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/test/livesocket.py b/sleekxmpp/test/livesocket.py
index 7dd4693c..80d63307 100644
--- a/sleekxmpp/test/livesocket.py
+++ b/sleekxmpp/test/livesocket.py
@@ -138,7 +138,7 @@ class TestLiveSocket(object):
"""
with self.send_queue_lock:
self.send_queue.put(data)
- self.socket.send(data)
+ return self.socket.send(data)
# ------------------------------------------------------------------
# File Socket