Classes | |
class | Error |
class | PipelineRequestHandler |
class | PipelineServer |
class | RequestParser |
class | RequestTooLargeError |
class | ResponseBuilder |
class | ServeIndexError |
class | UnexpectedMethodError |
Variables | |
tuple | args = parser.parse_args() |
tuple | f = open(args.pidfile, 'w') |
string | help = "file name for the PID" |
string | INFO_MESSAGE |
int | MAX_REQUEST_SIZE = 1024 |
float | MIN_POLL_TIME = 0.01 |
tuple | parser = argparse.ArgumentParser() |
tuple | pid = os.getpid() |
float | SEND_BUFFER_TIME = 0.5 |
tuple | server = PipelineServer(('0.0.0.0', args.port), PipelineRequestHandler) |
int | TIMEOUT = 30 |
string | type = "port to listen on" |
tuple http_pipe::args = parser.parse_args() |
Definition at line 431 of file http_pipe.py.
tuple http_pipe::f = open(args.pidfile, 'w') |
Definition at line 435 of file http_pipe.py.
string http_pipe::help = "file name for the PID" |
Definition at line 422 of file http_pipe.py.
string http_pipe::INFO_MESSAGE |
00001 ''' 00002 This is a test server to test the libcurl pipelining functionality. 00003 It is a modified version if Google's HTTP pipelining test server. More 00004 information can be found here: 00005 00006 https://dev.chromium.org/developers/design-documents/network-stack/http-pipelining 00007 00008 Source code can be found here: 00009 00010 https://code.google.com/archive/p/http-pipelining-test/ 00011 '''
Definition at line 32 of file http_pipe.py.
int http_pipe::MAX_REQUEST_SIZE = 1024 |
Definition at line 43 of file http_pipe.py.
float http_pipe::MIN_POLL_TIME = 0.01 |
Definition at line 44 of file http_pipe.py.
tuple http_pipe::parser = argparse.ArgumentParser() |
Definition at line 416 of file http_pipe.py.
tuple http_pipe::pid = os.getpid() |
Definition at line 434 of file http_pipe.py.
float http_pipe::SEND_BUFFER_TIME = 0.5 |
Definition at line 47 of file http_pipe.py.
tuple http_pipe::server = PipelineServer(('0.0.0.0', args.port), PipelineRequestHandler) |
Definition at line 439 of file http_pipe.py.
int http_pipe::TIMEOUT = 30 |
Definition at line 48 of file http_pipe.py.
string http_pipe::type = "port to listen on" |
Definition at line 418 of file http_pipe.py.