]> git.pld-linux.org Git - projects/pld-ftp-admin.git/commitdiff
- blah; I'm retarded; of course server side sockets should be non-blocking
authorMariusz Mazur <mmazur@pld-linux.org>
Tue, 11 Jan 2005 18:17:29 +0000 (18:17 +0000)
committerMariusz Mazur <mmazur@pld-linux.org>
Tue, 11 Jan 2005 18:17:29 +0000 (18:17 +0000)
Changed files:
    modules/cons.py -> 1.5

modules/cons.py

index 00499c77ee1ba32e3da578aa489322eee95c8101..6fc02f27d5b303f3de6c8116edd9b4344a215aef 100644 (file)
@@ -9,6 +9,7 @@ import cmds
 
 class Connection:
     def __init__(self, sock, authorized):
+        sock.setblocking(False)
         self.sock=sock
         self.authorized=authorized
         self.fileno=sock.fileno
This page took 0.038515 seconds and 4 git commands to generate.