twisted_ex4_xcap_proxy.py fix: actually send the result back to the client
This commit is contained in:
@@ -85,7 +85,7 @@ def handler(conn):
|
||||
try:
|
||||
for line in conn:
|
||||
print 'received from %s: %s' % (peer, line)
|
||||
print perform_request(line)
|
||||
conn.protocol.transport.write(perform_request(line))
|
||||
print peer, 'connection done'
|
||||
except Exception, ex:
|
||||
print peer, ex
|
||||
|
Reference in New Issue
Block a user