X-Git-Url: https://git.distorted.org.uk/~mdw/hippotat/blobdiff_plain/fa63bd9399a07c4b26affb3fc214291331d120b4..dce21e00c38132b17ec973923f4f7d0cbf47049f:/hippotat diff --git a/hippotat b/hippotat index f9395f2..56e3e45 100755 --- a/hippotat +++ b/hippotat @@ -152,7 +152,8 @@ class Client(): cl.log(DBG.HTTP_CTRL, 'req_err ' + str(err), idof=req) if isinstance(err, twisted.python.failure.Failure): err = err.getTraceback() - print('[%#x] %s' % (id(req), err), file=sys.stderr) + print('%s[%#x] %s' % (cl.desc, id(req), err.strip('\n').replace('\n',' / ')), + file=sys.stderr) if not isinstance(cl.outstanding[req], int): raise RuntimeError('[%#x] previously %s' % (id(req), cl.outstanding[req])) @@ -190,7 +191,7 @@ class Client(): b'Content-Type: text/plain; charset="utf-8"' + crlf + b'Content-Disposition: form-data; name="m"' + crlf + crlf + str(cl.c.client) .encode('ascii') + crlf + - cl.c.password + crlf + + cl.c.secret + crlf + str(cl.c.target_requests_outstanding) .encode('ascii') + crlf + str(cl.c.http_timeout) .encode('ascii') + crlf +