chiark
/
gitweb
/
~ian
/
hippotat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixes
[hippotat.git]
/
client
diff --git
a/client
b/client
index 931cb1f4c5fdcdd983407a2d9d7835d4e7bf6baf..ce5e8564b06f95276858d0ef426e9e919fdea2f9 100755
(executable)
--- a/
client
+++ b/
client
@@
-48,7
+48,7
@@
outstanding = 0
def start_client():
global queue
global agent
def start_client():
global queue
global agent
- queue = PacketQueue(c.max_queue_time)
+ queue = PacketQueue(
'up',
c.max_queue_time)
agent = twisted.web.client.Agent(reactor, connectTimeout = c.http_timeout)
def outbound(packet, saddr, daddr):
agent = twisted.web.client.Agent(reactor, connectTimeout = c.http_timeout)
def outbound(packet, saddr, daddr):
@@
-112,7
+112,7
@@
def check_outbound():
mime_translate(d) + crlf +
b'--b--' + crlf)
mime_translate(d) + crlf +
b'--b--' + crlf)
-
print('REQUESTING ', mime, file=sys.stderr
)
+
log_debug(DBG.HTTP_FULL, 'requesting: ' + str(mime)
)
hh = { 'User-Agent': ['hippotat'],
'Content-Type': ['multipart/form-data; boundary="b"'] }
hh = { 'User-Agent': ['hippotat'],
'Content-Type': ['multipart/form-data; boundary="b"'] }