Dolda2000 GitWeb
/
ashd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
python: Fixed WSGI wrapper to handle empty responses.
[ashd.git]
/
python
/
ashd
/
proto.py
diff --git
a/python/ashd/proto.py
b/python/ashd/proto.py
index
2c040c1
..
12c44bd
100644
(file)
--- a/
python/ashd/proto.py
+++ b/
python/ashd/proto.py
@@
-55,7
+55,6
@@
def recvreq(sock = 0):
if fd is None:
return None
try:
if fd is None:
return None
try:
- print repr(data)
parts = data.split('\0')[:-1]
if len(parts) < 5:
raise protoerr("Truncated request")
parts = data.split('\0')[:-1]
if len(parts) < 5:
raise protoerr("Truncated request")