This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Kaulkwappe
Recipients Kaulkwappe, christian.heimes
Date 2018-04-18.10:52:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1524048775.4.0.682650639539.issue33307@psf.upfronthosting.co.za>
In-reply-to
Content
socket.setblocking(0)
socket.send(b'a' * 32 * 1024 * 1024)

In the example above socket.send() fails with this error:

Error in connection handler
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/websockets/server.py", line 81, in handler
    yield from self.ws_handler(self, path)
  File "/var/www/vhosts/.../app/sockets/core/Daemon.py", line 286, in websocketClientHandler
    self.api.connection.send(data)
  File "/usr/lib/python3.5/ssl.py", line 869, in send
    return self._sslobj.write(data)
  File "/usr/lib/python3.5/ssl.py", line 594, in write
    return self._sslobj.write(data)
ssl.SSLWantWriteError: The operation did not complete (write) (_ssl.c:1949)
History
Date User Action Args
2018-04-18 10:52:55Kaulkwappesetrecipients: + Kaulkwappe, christian.heimes
2018-04-18 10:52:55Kaulkwappesetmessageid: <1524048775.4.0.682650639539.issue33307@psf.upfronthosting.co.za>
2018-04-18 10:52:55Kaulkwappelinkissue33307 messages
2018-04-18 10:52:55Kaulkwappecreate