Piotr Kliczewski has posted comments on this change. Change subject: stomp: Drain pending bytes from SSLConnection ......................................................................
Patch Set 1: (1 comment) https://gerrit.ovirt.org/#/c/48803/1/lib/yajsonrpc/stomp.py File lib/yajsonrpc/stomp.py: Line 350: def handle_read(self, dispatcher): Line 351: parser = self._parser Line 352: pending = getattr(dispatcher, 'pending', lambda: 0) Line 353: Line 354: while True: Code very similar to what I am doing except I am trying to solve edge case whereas here we change the logic how we read every time. Line 355: try: Line 356: data = dispatcher.recv(self._bufferSize) Line 357: except socket.error: Line 358: dispatcher.handle_error() -- To view, visit https://gerrit.ovirt.org/48803 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I4ea37c35c871ae286863c5d4403bcf71ac803da5 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Nir Soffer <[email protected]> Gerrit-Reviewer: Piotr Kliczewski <[email protected]> Gerrit-Reviewer: gerrit-hooks <[email protected]> Gerrit-HasComments: Yes _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
