Message13162

Author r_walter
Recipients jeff.allen, r_walter, zyasoft
Date 2021-08-24.16:26:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1629822373.57.0.960692856689.issue2840@roundup.psfhosted.org>
In-reply-to
Content
https://bugs.jython.org/issue2894 has the solution for this.

Replace sendall in _socket.py with the version given in  https://github.com/gbach/jython/commit/759c042bbf3d38a761430d3a671e2cdf4a1bf61f

    def sendall(self, data, flags=0):
        chunk_size = 8192
        length = len(data)
        data_view = memoryview(data)
        idx = 0
        while idx < length:
            bytes_sent = self.send(data_view[idx:idx + chunk_size], flags=flags)
            idx += bytes_sent
History
Date User Action Args
2021-08-24 16:26:13r_waltersetmessageid: <1629822373.57.0.960692856689.issue2840@roundup.psfhosted.org>
2021-08-24 16:26:13r_waltersetrecipients: + r_walter, zyasoft, jeff.allen
2021-08-24 16:26:13r_walterlinkissue2840 messages
2021-08-24 16:26:13r_waltercreate