Yaniv Bronhaim has posted comments on this change.

Change subject: json-rpc: Protocol detection
......................................................................


Patch Set 34:

(1 comment)

http://gerrit.ovirt.org/#/c/26300/34/vdsm/protocolDetector.py
File vdsm/protocolDetector.py:

Line 172:     def _handle_connection_read(self, fd):
Line 173:         _, client_socket = self._pending_connections[fd]
Line 174:         try:
Line 175:             data = client_socket.recv(self._required_size, 
socket.MSG_PEEK)
Line 176:             if data is None:
> A comment explain this unusual return value would be nice.
add comment
Line 177:                 return
Line 178:         except socket.error as e:
Line 179:             if e.errno not in (errno.EAGAIN, errno.EWOULDBLOCK):
Line 180:                 self.log.warning("Unable to read data")


-- 
To view, visit http://gerrit.ovirt.org/26300
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Id739a40e2b37dcc175137ec91cd5ec166ad24a75
Gerrit-PatchSet: 34
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Piotr Kliczewski <[email protected]>
Gerrit-Reviewer: Barak Azulay <[email protected]>
Gerrit-Reviewer: Francesco Romani <[email protected]>
Gerrit-Reviewer: Liron Ar <[email protected]>
Gerrit-Reviewer: Michal Skrivanek <[email protected]>
Gerrit-Reviewer: Nir Soffer <[email protected]>
Gerrit-Reviewer: Piotr Kliczewski <[email protected]>
Gerrit-Reviewer: Saggi Mizrahi <[email protected]>
Gerrit-Reviewer: Vinzenz Feenstra <[email protected]>
Gerrit-Reviewer: Yaniv Bronhaim <[email protected]>
Gerrit-Reviewer: Yeela Kaplan <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to