Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (23 sloc) 0.907 kb
-define(tcp_buffer, 65536).
-define(lifetime, 120000).
-record(state_rec, {log_file, % logfile name
logfd, % logfile IODevice
prev_port, % previous port
prev_scheme, % previous scheme
prev_host, % previous hostname
timestamp=0, % last request date
plugin,
thinktime_low = 1000 % dot not record thinktime less than this
% value (msec)
}).
-record(proxy, {
clientsock,
http_version,
close, % must close client socket (connection:close header was send by server)
parse_status = new, %% http status = body|new
body_size = 0,
content_length = 0,
buffer = [],
plugin,
serversock
}).
Jump to Line
Something went wrong with that request. Please try again.