X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=blobdiff_plain;f=python%2Fashd%2Fproto.py;h=c1ae1b0a2686b5e02df739a3c08fba8eafedd46c;hp=92a21cad49300e9699f853fa14c2b5c23f52748b;hb=b0ac3ba15223eea3419b94a99139eb14b730899a;hpb=2baf419bbc450cea45029f0c02d329c6a7041f34 diff --git a/python/ashd/proto.py b/python/ashd/proto.py index 92a21ca..c1ae1b0 100644 --- a/python/ashd/proto.py +++ b/python/ashd/proto.py @@ -114,7 +114,8 @@ def recvreq(sock = 0): The returned value is an instance of the `req' class. As per its description, care should be taken to close() the request when - done, to avoid leaking response sockets. + done, to avoid leaking response sockets. If end-of-file is + received on the socket, None is returned. This function may either raise on OSError if an error occurs on the socket, or a ashd.proto.protoerr if the incoming request is