MCPcopy Create free account

hub / github.com/benoitc/gunicorn / functions

Functions4,774 in github.com/benoitc/gunicorn

↓ 1 callersFunctionformat_headers
Format headers for display.
examples/asgi/basic_app.py:109
↓ 1 callersFunctionformat_help
Format help output for display.
gunicorn/ctl/cli.py:156
↓ 1 callersFunctionformat_listeners
Format listeners output for display.
gunicorn/ctl/cli.py:120
↓ 1 callersFunctionformat_request_info
Format request info as JSON.
examples/asgi/basic_app.py:117
↓ 1 callersFunctionformat_stats
Format stats output for display.
gunicorn/ctl/cli.py:87
↓ 1 callersFunctionformat_workers
Format workers output for display.
gunicorn/ctl/cli.py:20
↓ 1 callersMethodgauge
(self, name, value)
gunicorn/instrument/statsd.py:113
↓ 1 callersFunctiongen_3_chunks
()
benchmarks/dirty_streaming.py:295
↓ 1 callersMethodgen_cases
(self, cfg)
tests/treq.py:251
↓ 1 callersFunctiongen_chunks
()
benchmarks/dirty_streaming.py:383
↓ 1 callersFunctiongenerate
()
tests/docker/uwsgi/app.py:164
↓ 1 callersFunctiongenerate
()
tests/docker/http2/app.py:62
↓ 1 callersFunctiongenerate
()
examples/http2_gevent/app.py:70
↓ 1 callersMethodgenerate
Generate a streaming response for the given prompt. Yields tokens (words) one at a time with realistic delays to simulate LLM inferen
examples/streaming_chat/chat_app.py:64
↓ 1 callersFunctiongenerate_markdown
Generate markdown compatibility grid.
tests/docker/asgi_framework_compat/scripts/generate_grid.py:79
↓ 1 callersFunctiongenerate_report
Generate a summary report from benchmark results.
benchmarks/dirty_benchmark.py:853
↓ 1 callersFunctiongenerate_self_signed_cert
Generate self-signed SSL certificates for testing.
tests/docker/asgi_compliance/conftest.py:19
↓ 1 callersFunctiongenerate_self_signed_cert
Generate self-signed SSL certificates for testing.
tests/docker/http2/conftest.py:18
↓ 1 callersMethodgenerate_thumbnail
Generate a thumbnail.
examples/celery_alternative/tasks.py:224
↓ 1 callersMethodget_backlog
(self)
gunicorn/sock.py:98
↓ 1 callersMethodget_cmd_args_from_env
(self)
gunicorn/config.py:86
↓ 1 callersMethodget_config_from_filename
(self, filename)
gunicorn/app/base.py:92
↓ 1 callersMethodget_config_from_module_name
(self, module_name)
gunicorn/app/base.py:119
↓ 1 callersMethodget_data
(self, unreader, buf, stop=False)
gunicorn/http/message.py:508
↓ 1 callersMethodget_dirs
(self)
gunicorn/reloader.py:105
↓ 1 callersFunctionget_dirty_arbiter_pid
Get the dirty arbiter PID from the container.
tests/docker/dirty_ttin_ttou/test_ttin_ttou_docker.py:66
↓ 1 callersFunctionget_dirty_client
Get the dirty client, with fallback for when dirty workers aren't enabled.
examples/dirty_example/wsgi_app.py:21
↓ 1 callersMethodget_environ
(self)
gunicorn/workers/ggevent.py:176
↓ 1 callersFunctionget_h2_header_value
Extract a header value from h2 headers list.
tests/test_http2_async_connection.py:373
↓ 1 callersMethodget_last_response
Get the last response message.
examples/dirty_example/test_worker_integration.py:63
↓ 1 callersFunctionget_negotiated_protocol
Get the negotiated ALPN protocol from an SSL socket. Returns: str: The negotiated protocol name ('h2', 'http/1.1', etc.) or
gunicorn/sock.py:292
↓ 1 callersFunctionget_param
(name, default, type_fn=int)
benchmarks/dirty_bench_wsgi.py:57
↓ 1 callersFunctionget_parser_class
Get the appropriate parser class for the test parameter.
tests/treq_asgi.py:54
↓ 1 callersFunctionget_query_param
Get a query parameter value.
examples/asgi/basic_app.py:98
↓ 1 callersFunctionget_stash_socket_path
Get the stash socket path.
gunicorn/dirty/stash.py:424
↓ 1 callersFunctionget_username
get the username for a user id
gunicorn/util.py:155
↓ 1 callersFunctionget_wsgi_app
(config_uri, name=None, defaults=None)
gunicorn/app/pasterapp.py:14
↓ 1 callersMethodgetsockname
(self)
tests/test_asgi_worker.py:58
↓ 1 callersMethodhalt
halt arbiter
gunicorn/arbiter.py:401
↓ 1 callersFunctionhandle_broadcast
Simple broadcast simulation - echo message multiple times.
tests/docker/asgi_compliance/apps/websocket_app.py:290
↓ 1 callersFunctionhandle_chunked
Explicit chunked response with variable chunk sizes.
tests/docker/asgi_compliance/apps/streaming_app.py:170
↓ 1 callersMethodhandle_client
Handle a connection from an HTTP worker. Routes requests to available dirty workers and returns responses. Supports both reg
gunicorn/dirty/arbiter.py:405
↓ 1 callersFunctionhandle_close
Close connection with specific code from query parameter.
tests/docker/asgi_compliance/apps/websocket_app.py:173
↓ 1 callersFunctionhandle_combined
Show both priority and trailers in one response. This demonstrates a realistic scenario like gRPC where priority affects scheduling and trail
examples/http2_features/http2_app.py:188
↓ 1 callersFunctionhandle_cookies
Set and return cookies.
tests/docker/asgi_compliance/apps/http_app.py:489
↓ 1 callersFunctionhandle_counter
Increment and return a counter (tests state persistence).
tests/docker/asgi_compliance/apps/lifespan_app.py:208
↓ 1 callersFunctionhandle_delay
Respond after a delay (for timeout testing).
tests/docker/asgi_compliance/apps/http_app.py:397
↓ 1 callersFunctionhandle_delay
Test delayed responses.
tests/docker/asgi_compliance/apps/websocket_app.py:420
↓ 1 callersFunctionhandle_early_hints
Send 103 Early Hints before the response.
tests/docker/asgi_compliance/apps/http_app.py:457
↓ 1 callersFunctionhandle_echo
Echo back the request body.
tests/docker/asgi_compliance/apps/http_app.py:94
↓ 1 callersFunctionhandle_echo
Echo text messages back to the client.
tests/docker/asgi_compliance/apps/websocket_app.py:68
↓ 1 callersFunctionhandle_echo
Echo back the request body.
tests/docker/uwsgi/app.py:49
↓ 1 callersFunctionhandle_echo_binary
Echo binary messages back to the client.
tests/docker/asgi_compliance/apps/websocket_app.py:100
↓ 1 callersFunctionhandle_echo_stream
Echo request body as a stream.
tests/docker/asgi_compliance/apps/streaming_app.py:340
↓ 1 callersFunctionhandle_environ
Return WSGI environ variables as JSON.
tests/docker/uwsgi/app.py:94
↓ 1 callersFunctionhandle_error
Return specified HTTP error code.
tests/docker/uwsgi/app.py:120
↓ 1 callersMethodhandle_exit_signal
Handle SIGTERM - graceful shutdown.
gunicorn/workers/gasgi.py:134
↓ 1 callersFunctionhandle_fragmented
Test fragmented message handling (assembled by protocol).
tests/docker/asgi_compliance/apps/websocket_app.py:377
↓ 1 callersFunctionhandle_headers
Return request headers as JSON.
tests/docker/asgi_compliance/apps/http_app.py:123
↓ 1 callersFunctionhandle_headers
Return received HTTP headers as JSON.
tests/docker/uwsgi/app.py:69
↓ 1 callersFunctionhandle_health
Health check endpoint.
tests/docker/asgi_compliance/apps/http_app.py:436
↓ 1 callersFunctionhandle_health
Health check that verifies lifespan startup completed.
tests/docker/asgi_compliance/apps/lifespan_app.py:241
↓ 1 callersFunctionhandle_health
Health check endpoint.
tests/docker/asgi_compliance/apps/streaming_app.py:429
↓ 1 callersFunctionhandle_health
Health check endpoint.
tests/docker/asgi_compliance/apps/main_app.py:185
↓ 1 callersFunctionhandle_http
Route HTTP requests to handlers.
examples/http2_features/http2_app.py:53
↓ 1 callersFunctionhandle_http
Handle HTTP requests.
examples/asgi/basic_app.py:42
↓ 1 callersFunctionhandle_http
Handle HTTP requests - serve a simple HTML page for WebSocket testing.
examples/asgi/websocket_app.py:52
↓ 1 callersMethodhandle_http2_request
Handle a single HTTP/2 request.
gunicorn/workers/base_async.py:217
↓ 1 callersMethodhandle_hup
\ HUP handling. - Reload configuration - Start the new worker processes with a new configuration - Gracefully shutdown
gunicorn/arbiter.py:306
↓ 1 callersFunctionhandle_index
Show available endpoints and HTTP/2 features.
examples/http2_features/http2_app.py:72
↓ 1 callersFunctionhandle_infinite
Infinite stream (until client disconnects or limit reached).
tests/docker/asgi_compliance/apps/streaming_app.py:293
↓ 1 callersFunctionhandle_info
Detailed server information.
tests/docker/asgi_compliance/apps/main_app.py:206
↓ 1 callersFunctionhandle_json
Handle JSON POST requests.
tests/docker/uwsgi/app.py:171
↓ 1 callersFunctionhandle_large
Return a large response (1MB by default).
tests/docker/asgi_compliance/apps/http_app.py:250
↓ 1 callersFunctionhandle_large
Return a 1MB response body for testing large responses.
tests/docker/uwsgi/app.py:149
↓ 1 callersFunctionhandle_large_message
Test large message handling.
tests/docker/asgi_compliance/apps/websocket_app.py:331
↓ 1 callersFunctionhandle_large_stream
Stream a large response in chunks.
tests/docker/asgi_compliance/apps/streaming_app.py:249
↓ 1 callersFunctionhandle_lifespan
Handle ASGI lifespan events.
tests/docker/asgi_compliance/apps/http_app.py:61
↓ 1 callersFunctionhandle_lifespan
Handle ASGI lifespan protocol.
tests/docker/asgi_compliance/apps/lifespan_app.py:53
↓ 1 callersFunctionhandle_lifespan
Handle ASGI lifespan events.
tests/docker/asgi_compliance/apps/streaming_app.py:51
↓ 1 callersFunctionhandle_lifespan
Handle ASGI lifespan events.
tests/docker/asgi_compliance/apps/main_app.py:98
↓ 1 callersFunctionhandle_lifespan
Handle ASGI lifespan events.
tests/docker/asgi_compliance/apps/websocket_app.py:57
↓ 1 callersFunctionhandle_lifespan
Handle lifespan events (startup/shutdown).
examples/http2_features/http2_app.py:40
↓ 1 callersFunctionhandle_lifespan
Handle lifespan events (startup/shutdown).
examples/asgi/basic_app.py:29
↓ 1 callersFunctionhandle_lifespan
Handle lifespan events.
examples/asgi/websocket_app.py:41
↓ 1 callersFunctionhandle_lifespan_info
Return lifespan-specific information.
tests/docker/asgi_compliance/apps/lifespan_app.py:172
↓ 1 callersMethodhandle_manage_request
Handle a worker management request. Supports adding or removing dirty workers via protocol messages. Args: mess
gunicorn/dirty/arbiter.py:701
↓ 1 callersFunctionhandle_method
Return the HTTP method used.
tests/docker/asgi_compliance/apps/http_app.py:286
↓ 1 callersFunctionhandle_ndjson
Newline-delimited JSON stream.
tests/docker/asgi_compliance/apps/streaming_app.py:380
↓ 1 callersFunctionhandle_not_found
Handle 404 Not Found.
tests/docker/asgi_compliance/apps/http_app.py:572
↓ 1 callersFunctionhandle_not_found
Handle 404 Not Found.
tests/docker/asgi_compliance/apps/lifespan_app.py:267
↓ 1 callersFunctionhandle_not_found
Handle 404 Not Found.
tests/docker/asgi_compliance/apps/streaming_app.py:450
↓ 1 callersFunctionhandle_not_found
Handle 404 for unknown paths.
tests/docker/uwsgi/app.py:217
↓ 1 callersFunctionhandle_ping
Echo ping messages (handled at protocol level, but test app behavior).
tests/docker/asgi_compliance/apps/websocket_app.py:259
↓ 1 callersFunctionhandle_post_json
Parse JSON body and return it.
tests/docker/asgi_compliance/apps/http_app.py:352
↓ 1 callersFunctionhandle_priority
Return stream priority information. HTTP/2 allows clients to indicate relative importance of requests. Gunicorn exposes this through the http
examples/http2_features/http2_app.py:94
↓ 1 callersFunctionhandle_query
Return parsed query parameters.
tests/docker/asgi_compliance/apps/http_app.py:309
↓ 1 callersFunctionhandle_query
Return query string parameters as JSON.
tests/docker/uwsgi/app.py:198
↓ 1 callersMethodhandle_quit_signal
Handle SIGQUIT/SIGINT - immediate shutdown.
gunicorn/workers/gasgi.py:125
↓ 1 callersFunctionhandle_redirect
Redirect to another URL.
tests/docker/asgi_compliance/apps/http_app.py:537
← previousnext →901–1,000 of 4,774, ranked by callers