Commits

wump  committed e8e90cb

detect EOF

  • Participants
  • Parent commits 96315da
  • Branches tostring

Comments (0)

Files changed (1)

File loggerglue/server.py

         buf = ''
         while True:
             r = self.request.recv(1)
+            if not r:
+                break # EOF
             if r != ' ':
                 buf += r
             else: