|
NullHandler
A Logging handler to prevent library errors.
|
|
Connection
|
|
FileLikeSocket
|
|
WSGIFuture
|
|
_WorkItem
|
|
WSGIExecutor
|
|
FuturesMiddleware
Futures middleware that adds a Futures Executor to the environment
|
|
Listener
The Listener class is a class responsible for accepting connections
and queuing them to be processed by a worker thread.
|
|
Rocket
The Rocket class is responsible for handling threads and accepting
and dispatching connections.
|
|
Monitor
|
|
ThreadPool
The ThreadPool class is a container class for all the worker
threads.
|
|
Worker
The Worker class is a base class responsible for receiving
connections and (a subclass) will run an application to process the
the connection
|
|
SocketTimeout
Exception for when a socket times out between requests.
|
|
BadRequest
Exception for when a client sends an incomprehensible request.
|
|
SocketClosed
Exception for when a socket is closed by the client.
|
|
ChunkedReader
|
|
WSGIWorker
|
|
VERSION = ' 1.2.6 '
|
|
SERVER_NAME = ' giles-liveconsole3 '
|
|
SERVER_SOFTWARE = ' Rocket 1.2.6 '
|
|
HTTP_SERVER_SOFTWARE = ' Rocket 1.2.6 Python/2.7.5+ '
|
|
BUF_SIZE = 16384
|
|
SOCKET_TIMEOUT = 10
|
|
THREAD_STOP_CHECK_INTERVAL = 1
|
|
IS_JYTHON = False
|
|
IGNORE_ERRORS_ON_CLOSE = set([ 103, 104])
|
|
DEFAULT_LISTEN_QUEUE_SIZE = 5
|
|
DEFAULT_MIN_THREADS = 10
|
|
DEFAULT_MAX_THREADS = 0
|
|
DEFAULTS = { ' LISTEN_QUEUE_SIZE ' : 5, ' MAX_THREADS ' : 0, ' MIN_THR ...
|
|
PY3K = False
|
|
has_futures = True
|
|
has_ssl = True
|
|
log = logging.getLogger('Rocket.Errors.ThreadPool')
|
|
re_SLASH = re.compile(r'(?i) %2F')
|
|
re_REQUEST_LINE = re.compile(r'(?x) ^(?P< method > OPTIONS| GET| HEA...
|
|
LOG_LINE = ' %(client_ip)s - "%(request_line)s" - %(status)s %( ...
|
|
RESPONSE = ' %s %s\nContent-Length: %i\nContent-Type: %s\n\n%s\n '
|
|
HTTP_METHODS = set(['OPTIONS', 'GET', 'HEAD', 'POST', 'PUT', '...
|
|
NEWLINE = ' \r\n '
|
|
HEADER_RESPONSE = ' HTTP/1.1 %s\r\n%s '
|
|
BASE_ENV = { ' SCRIPT_NAME ' : '
' , ' SERVER_NAME ' : ' giles-liveconso ...
|
|
__package__ = ' gluon '
|