2011-08-03 04:36:20 +00:00
|
|
|
log = []
|
2015-05-30 00:03:28 +00:00
|
|
|
|
|
|
|
|
2011-08-03 04:36:20 +00:00
|
|
|
def clientconnect(ctx, cc):
|
|
|
|
ctx.log("XCLIENTCONNECT")
|
|
|
|
log.append("clientconnect")
|
|
|
|
|
2015-05-30 00:03:28 +00:00
|
|
|
|
2013-12-16 21:10:06 +00:00
|
|
|
def serverconnect(ctx, cc):
|
|
|
|
ctx.log("XSERVERCONNECT")
|
|
|
|
log.append("serverconnect")
|
|
|
|
|
2015-05-30 00:03:28 +00:00
|
|
|
|
2014-07-20 09:17:53 +00:00
|
|
|
def request(ctx, f):
|
2011-08-03 04:36:20 +00:00
|
|
|
ctx.log("XREQUEST")
|
|
|
|
log.append("request")
|
|
|
|
|
2015-05-30 00:03:28 +00:00
|
|
|
|
2014-07-20 09:17:53 +00:00
|
|
|
def response(ctx, f):
|
2011-08-03 04:36:20 +00:00
|
|
|
ctx.log("XRESPONSE")
|
|
|
|
log.append("response")
|
|
|
|
|
2015-05-30 00:03:28 +00:00
|
|
|
|
2014-07-20 09:17:53 +00:00
|
|
|
def responseheaders(ctx, f):
|
2014-07-20 02:10:14 +00:00
|
|
|
ctx.log("XRESPONSEHEADERS")
|
|
|
|
log.append("responseheaders")
|
|
|
|
|
2015-05-30 00:03:28 +00:00
|
|
|
|
2011-08-03 04:36:20 +00:00
|
|
|
def clientdisconnect(ctx, cc):
|
|
|
|
ctx.log("XCLIENTDISCONNECT")
|
|
|
|
log.append("clientdisconnect")
|
|
|
|
|
2015-05-30 00:03:28 +00:00
|
|
|
|
2011-08-03 04:36:20 +00:00
|
|
|
def error(ctx, cc):
|
|
|
|
ctx.log("XERROR")
|
|
|
|
log.append("error")
|