No threading in fakeftp :)
This commit is contained in:
parent
45836391c7
commit
c8cf9f2431
1 changed files with 1 additions and 1 deletions
|
@ -791,7 +791,7 @@ handler.rootDirectory = Directory("",files=[
|
||||||
port = 21
|
port = 21
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
server = SocketServer.ThreadingTCPServer(("0.0.0.0",port),handler)
|
server = SocketServer.TCPServer(("0.0.0.0",port),handler)
|
||||||
print "Listening on port %d" % port
|
print "Listening on port %d" % port
|
||||||
server.serve_forever()
|
server.serve_forever()
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in a new issue