Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/benoitc/gunicorn
/ functions
Functions
698 in github.com/benoitc/gunicorn
⨍
Functions
698
◇
Types & classes
183
↳
Endpoints
26
↓ 38 callers
Method
set
(self, name, value)
gunicorn/config.py:74
↓ 35 callers
Method
write
(self, arg)
gunicorn/http/wsgi.py:325
↓ 34 callers
Function
uri
(data)
tests/treq.py:20
↓ 28 callers
Method
get
(self)
gunicorn/config.py:308
↓ 27 callers
Method
read
(self, size=None)
gunicorn/http/body.py:202
↓ 17 callers
Method
info
(self, msg, *args, **kwargs)
gunicorn/glogging.py:263
↓ 17 callers
Method
sleep
\ Sleep until PIPE is readable or we timeout. A readable PIPE means a signal occurred.
gunicorn/arbiter.py:351
↓ 16 callers
Method
close
(self)
gunicorn/sock.py:62
↓ 16 callers
Method
info
(self, msg, *args, **kwargs)
gunicorn/instrument/statsd.py:58
↓ 15 callers
Function
validate_callable
(arity)
gunicorn/config.py:436
↓ 13 callers
Method
fileno
(self)
gunicorn/workers/workertmp.py:51
↓ 12 callers
Method
close
(self)
gunicorn/workers/gthread.py:62
↓ 11 callers
Method
debug
(self, msg, *args, **kwargs)
gunicorn/glogging.py:266
↓ 11 callers
Method
stop
\ Stop workers :attr graceful: boolean, If True (the default) workers will be killed gracefully (ie. trying to wait for the
gunicorn/arbiter.py:370
↓ 9 callers
Method
exception
(self, msg, *args, **kwargs)
gunicorn/instrument/statsd.py:53
↓ 9 callers
Method
readline
(self, size=None)
gunicorn/http/body.py:226
↓ 8 callers
Method
debug
(self, msg, *args, **kwargs)
gunicorn/instrument/statsd.py:62
↓ 8 callers
Method
get
(self)
examples/frameworks/tornadoapp.py:17
↓ 7 callers
Method
unlink
delete pidfile
gunicorn/pidfile.py:52
↓ 6 callers
Method
access
Measure request duration request_time is a datetime.timedelta
gunicorn/instrument/statsd.py:91
↓ 6 callers
Method
create
(self, pid)
gunicorn/pidfile.py:22
↓ 6 callers
Method
get
(self)
tests/test_config.py:102
↓ 6 callers
Method
increment
(self, name, value, sampling_rate=1.0)
gunicorn/instrument/statsd.py:109
↓ 6 callers
Method
notify
\ Your worker subclass must arrange to have this method called once every ``self.timeout`` seconds. If you fail in accomplishing
gunicorn/workers/base.py:69
↓ 6 callers
Method
seek
(self, offset, whence=0)
tests/t.py:66
↓ 6 callers
Method
start
\ Initialize the arbiter. Start listening and set pidfile if needed.
gunicorn/arbiter.py:120
↓ 6 callers
Method
validate
Validate pidfile and make it stale if needed
gunicorn/pidfile.py:63
↓ 5 callers
Method
atoms
Gets atoms for log formating.
gunicorn/glogging.py:277
↓ 5 callers
Function
cfg_file
()
tests/test_config.py:25
↓ 5 callers
Method
now
return date in Apache Common Log Format
gunicorn/glogging.py:353
↓ 5 callers
Method
read
(self, size=None)
gunicorn/http/unreader.py:20
↓ 5 callers
Method
reexec
\ Relaunch the master and workers.
gunicorn/arbiter.py:397
↓ 5 callers
Method
unread
(self, data)
gunicorn/http/unreader.py:52
↓ 5 callers
Function
validate_string
(val)
gunicorn/config.py:388
↓ 5 callers
Method
wait
(self, timeout)
gunicorn/workers/sync.py:33
↓ 5 callers
Method
warning
(self, msg, *args, **kwargs)
gunicorn/instrument/statsd.py:49
↓ 5 callers
Method
wsgi
(self)
gunicorn/app/base.py:65
↓ 4 callers
Method
_sock_send
(self, msg)
gunicorn/instrument/statsd.py:118
↓ 4 callers
Method
copy
(self)
gunicorn/config.py:305
↓ 4 callers
Method
error
(self, msg, *args, **kwargs)
gunicorn/glogging.py:257
↓ 4 callers
Function
func
(a, b)
tests/test_config.py:164
↓ 4 callers
Method
kill_worker
\ Kill a worker :attr pid: int, worker pid :attr sig: `signal.SIG*` value
gunicorn/arbiter.py:634
↓ 4 callers
Method
manage_workers
\ Maintain the number of workers by spawning or killing as required.
gunicorn/arbiter.py:545
↓ 4 callers
Method
post_request
(worker, req, environ, resp)
gunicorn/config.py:1818
↓ 4 callers
Method
recv
(self, length=None)
tests/t.py:52
↓ 4 callers
Method
reopen_files
(self)
gunicorn/glogging.py:357
↓ 4 callers
Method
send_headers
(self)
gunicorn/http/wsgi.py:315
↓ 4 callers
Method
should_close
(self)
gunicorn/http/wsgi.py:212
↓ 3 callers
Method
accept
(self, listener)
gunicorn/workers/sync.py:27
↓ 3 callers
Method
bind
(self, sock)
gunicorn/sock.py:59
↓ 3 callers
Function
bytes_to_str
(b)
gunicorn/util.py:632
↓ 3 callers
Method
chdir
(self)
gunicorn/app/base.py:84
↓ 3 callers
Method
close_on_exec
(self)
gunicorn/glogging.py:380
↓ 3 callers
Method
force_close
(self)
gunicorn/http/wsgi.py:209
↓ 3 callers
Method
handle_error
(self, req, client, addr, exc)
gunicorn/workers/base.py:205
↓ 3 callers
Method
init_process
\ If you override this method in a subclass, the last statement in the function should be to call this method with super().ini
gunicorn/workers/base.py:85
↓ 3 callers
Method
kill_workers
\ Kill all workers with the signal `sig` :attr sig: `signal.SIG*` value
gunicorn/arbiter.py:625
↓ 3 callers
Method
pre_request
(worker, req)
gunicorn/config.py:1801
↓ 3 callers
Method
readlines
(self, size=None)
gunicorn/http/body.py:251
↓ 3 callers
Method
run
(self)
gunicorn/app/base.py:202
↓ 3 callers
Method
spawn_worker
(self)
gunicorn/arbiter.py:567
↓ 3 callers
Method
wakeup
\ Wake up the arbiter by writing to the PIPE
gunicorn/arbiter.py:330
↓ 3 callers
Method
warning
(self, msg, *args, **kwargs)
gunicorn/glogging.py:260
↓ 3 callers
Method
worker_int
(worker)
gunicorn/config.py:1747
↓ 3 callers
Method
write_file
(self, respiter)
gunicorn/http/wsgi.py:384
↓ 2 callers
Method
__init__
(self)
gunicorn/http/unreader.py:14
↓ 2 callers
Method
__init__
(self, args=None)
tests/test_config.py:36
↓ 2 callers
Function
_sock_type
(addr)
gunicorn/sock.py:129
↓ 2 callers
Function
_test_ssl_version
(options, expected)
tests/test_config.py:467
↓ 2 callers
Function
assert_readline
(payload, size, expected)
tests/test_http.py:15
↓ 2 callers
Function
base_environ
(cfg)
gunicorn/http/wsgi.py:68
↓ 2 callers
Function
cfg_module
()
tests/test_config.py:21
↓ 2 callers
Method
check
(self, cfg, sender, sizer, matcher)
tests/treq.py:246
↓ 2 callers
Function
check_environ
A context manager that asserts post-conditions of ``listen_fds`` at exit. This helper is used to ease checking of the test post-conditions f
tests/test_systemd.py:16
↓ 2 callers
Method
critical
(self, msg, *args, **kwargs)
gunicorn/instrument/statsd.py:41
↓ 2 callers
Function
default_environ
(req, sock, cfg)
gunicorn/http/wsgi.py:81
↓ 2 callers
Method
default_headers
(self)
gunicorn/http/wsgi.py:295
↓ 2 callers
Method
do_load_config
Loads the configuration
gunicorn/app/base.py:30
↓ 2 callers
Method
encode_hybi
Encode a HyBi style WebSocket frame. Optional opcode: 0x0 - continuation 0x1 - text frame (base64 encode buf)
examples/websocket/gevent_websocket.py:159
↓ 2 callers
Method
encode_hybi
Encode a HyBi style WebSocket frame. Optional opcode: 0x0 - continuation 0x1 - text frame (base64 encode buf)
examples/websocket/websocket.py:160
↓ 2 callers
Method
enqueue_req
(self, conn)
gunicorn/workers/gthread.py:111
↓ 2 callers
Method
get_data
(self, unreader, buf)
gunicorn/http/body.py:102
↓ 2 callers
Method
get_data
(self, unreader, buf, stop=False)
gunicorn/http/message.py:182
↓ 2 callers
Function
get_default_config_file
()
gunicorn/config.py:535
↓ 2 callers
Method
getsize
(self, size)
gunicorn/http/body.py:193
↓ 2 callers
Method
handle_request
(self)
gunicorn/workers/gtornado.py:49
↓ 2 callers
Function
has_logging_config
(config_file)
gunicorn/app/pasterapp.py:27
↓ 2 callers
Method
histogram
(self, name, value)
gunicorn/instrument/statsd.py:115
↓ 2 callers
Method
is_chunked
(self)
gunicorn/http/wsgi.py:278
↓ 2 callers
Method
is_parent_alive
(self)
gunicorn/workers/sync.py:52
↓ 2 callers
Method
load
(self)
gunicorn/app/base.py:49
↓ 2 callers
Method
load_config_from_file
(self, filename)
gunicorn/app/base.py:152
↓ 2 callers
Method
load_default_config
(self)
gunicorn/app/base.py:42
↓ 2 callers
Method
load_wsgi
(self)
gunicorn/workers/base.py:144
↓ 2 callers
Method
log
Log a given statistic if metric, value and type are present
gunicorn/instrument/statsd.py:65
↓ 2 callers
Function
loggers
get list of all loggers
gunicorn/glogging.py:90
↓ 2 callers
Method
nworkers_changed
(server, new_value, old_value)
gunicorn/config.py:1871
↓ 2 callers
Method
parse
(self, unreader)
gunicorn/http/message.py:58
↓ 2 callers
Method
parse_headers
(self, data)
gunicorn/http/message.py:61
↓ 2 callers
Method
read
(self, size)
gunicorn/http/body.py:114
next →
1–100 of 698, ranked by callers