aboutsummaryrefslogtreecommitdiffstats
path: root/test/scripts/all.py
blob: dad2aade7b03ae0a219e610684526e76601d60e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
log = []


def clientconnect(ctx, cc):
    ctx.log("XCLIENTCONNECT")
    log.append("clientconnect")


def serverconnect(ctx, cc):
    ctx.log("XSERVERCONNECT")
    log.append("serverconnect")


def request(ctx, f):
    ctx.log("XREQUEST")
    log.append("request")


def response(ctx, f):
    ctx.log("XRESPONSE")
    log.append("response")


def responseheaders(ctx, f):
    ctx.log("XRESPONSEHEADERS")
    log.append("responseheaders")


def clientdisconnect(ctx, cc):
    ctx.log("XCLIENTDISCONNECT")
    log.append("clientdisconnect")


def error(ctx, cc):
    ctx.log("XERROR")
    log.append("error")