~mdw
/
hippotat
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixes
[hippotat]
/
server
diff --git
a/server
b/server
index
e3e28ce
..
cb9322b
100755
(executable)
--- a/
server
+++ b/
server
@@
-18,7
+18,7
@@
clients = { }
def route(packet, saddr, daddr):
print('TRACE ', saddr, daddr, packet)
def route(packet, saddr, daddr):
print('TRACE ', saddr, daddr, packet)
- try: client = clients[daddr]
+ try:
d
client = clients[daddr]
except KeyError: dclient = None
if dclient is not None:
dclient.queue_outbound(packet)
except KeyError: dclient = None
if dclient is not None:
dclient.queue_outbound(packet)
@@
-107,7
+107,7
@@
class Client():
self.max_batch_down)
assert(request.sentLength)
self.max_batch_down)
assert(request.sentLength)
- self._rq.pop
L
eft()
+ self._rq.pop
l
eft()
request.finish()
# round again, looking for more to do
request.finish()
# round again, looking for more to do