Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 31 lines (24 sloc) 0.941 kB
ad4f1ed @nniclausse refactoring of recorder: add plugin architecture for other protocols …
nniclausse authored
1
2
3 -define(tcp_buffer, 65536).
4 -define(lifetime, 120000).
5
6 -record(state_rec, {log_file, % logfile name
7 logfd, % logfile IODevice
8 prev_port, % previous port
9 prev_scheme, % previous scheme
10 prev_host, % previous hostname
11 timestamp=0, % last request date
12 plugin,
13 thinktime_low = 1000 % dot not record thinktime less than this
14 % value (msec)
15 }).
16
17
18 -record(proxy, {
19 clientsock,
20 http_version,
21 close, % must close client socket (connection:close header was send by server)
22 parse_status = new, %% http status = body|new
23 body_size = 0,
24 content_length = 0,
69f2292 @nniclausse forgot to commit this change
nniclausse authored
25 parent_proxy = false,
ad4f1ed @nniclausse refactoring of recorder: add plugin architecture for other protocols …
nniclausse authored
26 buffer = [],
27 plugin,
28 serversock
29 }).
30
Something went wrong with that request. Please try again.