MCPcopy Create free account

hub / github.com/benoitc/gunicorn / functions

Functions5,599 in github.com/benoitc/gunicorn

Methodget_data
(self, unreader, buf)
gunicorn/http/body.py:162
Methodget_echo_count
Get the number of echo calls made. Returns: The echo count
tests/support_dirty_apps.py:129
Methodget_extra_info
(self, name)
tests/test_dirty_integration.py:54
Methodget_extra_info
(self, name, default=None)
tests/test_asgi_keepalive_background.py:35
Methodget_extra_info
(self, name, default=None)
tests/test_asgi_keepalive_smuggling.py:41
Methodget_extra_info
(self, name)
tests/test_dirty_worker.py:90
Methodget_extra_info
(self, name, default=None)
tests/test_asgi_nr_conns_shutdown.py:39
Methodget_extra_info
(self, name)
tests/test_dirty_arbiter.py:63
Methodget_extra_info
(self, name)
tests/dirty/test_arbiter_streaming.py:64
Methodget_extra_info
(self, name)
tests/dirty/test_streaming_integration.py:97
Methodget_extra_info
(self, name)
tests/dirty/test_multi_app_routing.py:104
Methodget_extra_info
(self, name, default=None)
benchmarks/asgi/profile_requests.py:69
Methodget_fastapi
()
tests/docker/asgi_compliance/test_framework_integration.py:489
Methodget_funs
(p)
tests/treq.py:252
Functionget_h2_version
Get the installed h2 library version. Returns: tuple: Version tuple (major, minor, patch) or None if not installed.
gunicorn/http2/__init__.py:43
Methodget_header
Get header by name (case-insensitive). Args: name: Header name to look up Returns: Header value if found, No
gunicorn/asgi/uwsgi.py:160
Methodget_header
Get a header value by name (case-insensitive).
gunicorn/asgi/parser.py:1163
Methodget_headers
()
tests/docker/asgi_compliance/test_concurrency.py:68
Methodget_health
()
tests/docker/asgi_compliance/test_concurrency.py:74
Functionget_http2_connection_class
Get the HTTP2ServerConnection class if h2 is available. Returns: HTTP2ServerConnection class, or raises HTTP2NotAvailable
gunicorn/http2/__init__.py:54
Methodget_info
Get app info.
tests/docker/per_app_allocation/app.py:172
Functionget_parser
Get appropriate parser based on protocol config. Args: cfg: Gunicorn config object source: Socket or iterable source sour
gunicorn/http/__init__.py:9
Methodget_prefix
Get the current prefix. Returns: The current prefix
tests/support_dirty_apps.py:121
Methodget_request
()
tests/docker/asgi_compliance/test_http2_asgi.py:332
Methodget_request
()
tests/docker/uwsgi/test_uwsgi_integration.py:256
Methodget_root
()
tests/docker/asgi_compliance/test_concurrency.py:65
Methodget_scope
()
tests/docker/asgi_compliance/test_websocket_compliance.py:627
Methodget_scope
()
tests/docker/asgi_compliance/test_concurrency.py:71
Methodget_session
Get user session - visible from any worker.
examples/dirty_example/dirty_app.py:226
Methodget_starlette
()
tests/docker/asgi_compliance/test_framework_integration.py:485
Methodget_stats
Get global request counter (shared across all workers).
examples/dirty_example/dirty_app.py:248
Methodget_value
Get the current counter value. Returns: The current counter value
tests/support_dirty_apps.py:55
Methodget_worker_id
Return the worker ID that loaded this app.
tests/support_dirty_app.py:126
Methodget_worker_id
Return the worker ID that loaded this app.
tests/support_dirty_app.py:152
Methodget_worker_id
Return the worker ID that loaded this app.
tests/docker/per_app_allocation/app.py:113
Methodget_worker_id
Return the worker ID that loaded this app.
tests/docker/per_app_allocation/app.py:148
Methodget_worker_id
Return the worker ID that loaded this app.
tests/docker/per_app_allocation/app.py:179
Methodget_write_buffer_size
(self)
tests/test_asgi_keepalive_background.py:56
Methodget_write_buffer_size
(self)
tests/test_asgi_keepalive_smuggling.py:60
Methodget_write_buffer_size
(self)
benchmarks/asgi/profile_requests.py:97
Functiongetcwd
()
gunicorn/util.py:495
Methodgetpeername
(self)
tests/test_gtornado.py:47
Methodgetpeername
(self)
tests/test_asgi_worker.py:62
Methodgetpeername
(self)
tests/test_gthread.py:56
Methodgetsockname
(self)
tests/test_gtornado.py:44
Methodgetsockname
(self)
tests/test_asgi_worker.py:103
Methodgevent_worker
Create a GeventWorker instance for testing.
tests/test_http2_alpn.py:309
Methodgid
(self)
gunicorn/config.py:168
Methodgone
()
gunicorn/asgi/protocol.py:2599
Functiongoodbye_world
(request)
examples/frameworks/pyramidapp.py:11
Functiongunicorn_server
Start and stop a gunicorn server.
tests/test_signal_integration.py:82
Functiongunicorn_ssl_url
Return the gunicorn HTTPS service URL.
tests/docker/asgi_compliance/conftest.py:192
Functiongunicorn_url
Return the gunicorn HTTP service URL.
tests/docker/asgi_compliance/conftest.py:186
Functiongunicorn_url
Return the gunicorn service URL.
tests/docker/http2/conftest.py:163
Functionh1_client
Create an HTTP/1.1 only client.
tests/docker/http2/conftest.py:184
Functionh2_client
Create an HTTP/2 capable client.
tests/docker/http2/conftest.py:175
Functionh2spec_services
Bring up one gunicorn per worker class; tear everything down after.
tests/docker/h2spec/conftest.py:59
Functionhandle
This is the websocket handler function. Note that we can dispatch based on path in here, too.
examples/websocket/gevent_websocket.py:425
Methodhandle
Handle a request on a connection. Runs in a worker thread.
gunicorn/workers/gthread.py:514
Methodhandle
(self, listener, client, addr)
gunicorn/workers/ggevent.py:116
Methodhandle
(self, listener, client, addr)
gunicorn/workers/base_async.py:38
FunctionhandleSummary
(data)
tests/docker/stress/k6/ws.js:37
FunctionhandleSummary
(data)
tests/docker/stress/k6/main.js:21
Methodhandle_abort
(self, sig, frame)
gunicorn/workers/base.py:197
Methodhandle_abort_signal
Handle SIGABRT - abort.
gunicorn/workers/gasgi.py:146
Methodhandle_chld
SIGCHLD handling - called from main loop, safe to log.
gunicorn/arbiter.py:293
Methodhandle_connection
Handle a connection from the arbiter. Each connection can send multiple requests.
gunicorn/dirty/worker.py:288
Methodhandle_exit
Handle SIGTERM - begin graceful shutdown.
gunicorn/workers/gthread.py:286
Methodhandle_exit
(self, sig, frame)
gunicorn/workers/gtornado.py:35
Methodhandle_http2
(self, listener, client, addr, preface=b"", upgrade=None)
tests/test_http2_h2c.py:378
Methodhandle_http2
(self, conn)
tests/test_http2_h2c.py:744
Methodhandle_http2_request
(self, req, conn, h2_conn)
tests/test_http2_h2c.py:741
Methodhandle_int
SIGINT handling
gunicorn/arbiter.py:322
Methodhandle_quit
(self, sig, frame)
gunicorn/workers/base.py:190
Methodhandle_quit
Handle SIGQUIT - immediate shutdown.
gunicorn/workers/gthread.py:293
Methodhandle_quit
(self, sig, frame)
gunicorn/workers/ggevent.py:130
Methodhandle_request
(self, listener_name, req, sock, addr)
gunicorn/workers/ggevent.py:122
Methodhandle_term
SIGTERM handling
gunicorn/arbiter.py:318
Methodhandle_ttin
\ SIGTTIN handling. Increases the number of workers by one.
gunicorn/arbiter.py:332
Methodhandle_ttou
\ SIGTTOU handling. Decreases the number of workers by one.
gunicorn/arbiter.py:340
Methodhandle_usr1
(self, sig, frame)
gunicorn/workers/base.py:184
Methodhandle_usr1
(self, sig, frame)
gunicorn/workers/ggevent.py:135
Methodhandle_usr1_signal
Handle SIGUSR1 - reopen log files.
gunicorn/workers/gasgi.py:138
Methodhandle_usr2
\ SIGUSR2 handling. Creates a new arbiter/worker set as a fork of the current arbiter without affecting old workers. Use this
gunicorn/arbiter.py:361
Methodhandle_winch
SIGWINCH handling
gunicorn/arbiter.py:370
Methodhandle_winch
(self, sig, fname)
gunicorn/workers/base.py:301
Methodhandle_winch_signal
Handle SIGWINCH - ignored in worker.
gunicorn/workers/gasgi.py:142
Methodhandle_worker
(reader, writer)
tests/test_dirty_arbiter.py:753
Functionhandler_app
(environ, start_response)
examples/standalone_app.py:23
Methodhas_buffered_data
Check if there's data in the pushback buffer.
gunicorn/asgi/unreader.py:137
Functionhas_fileno
(obj)
gunicorn/util.py:632
Methodheaders
The headers as (UPPER-CASE name, value) str pairs. Built from headers_bytes the first time something reads them: serving a request ne
gunicorn/asgi/parser.py:1017
Functionheaders_endpoint
Return request headers as JSON.
tests/docker/asgi_framework_compat/frameworks/litestar_app/app.py:104
Functionheaders_endpoint
Return request headers as JSON.
tests/docker/asgi_framework_compat/frameworks/starlette_app/app.py:141
Functionheaders_endpoint
Return request headers as JSON.
tests/docker/asgi_framework_compat/frameworks/fastapi_app/app.py:140
Functionheaders_endpoint
Return request headers as JSON.
tests/docker/asgi_framework_compat/frameworks/blacksheep_app/app.py:98
Functionheaders_endpoint
Return request headers as JSON.
tests/docker/asgi_framework_compat/frameworks/quart_app/app.py:96
Functionheaders_view
Return request headers as JSON.
tests/docker/asgi_framework_compat/frameworks/django_app/views.py:67
Functionhealth
Health check endpoint.
tests/docker/asgi_framework_compat/frameworks/litestar_app/app.py:71
Functionhealth
Health check endpoint.
tests/docker/asgi_framework_compat/frameworks/starlette_app/app.py:119
← previousnext →2,201–2,300 of 5,599, ranked by callers