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