MCPcopy Create free account

hub / github.com/benoitc/gunicorn / functions

Functions4,571 in github.com/benoitc/gunicorn

↓ 2 callersFunctionloggers
get list of all loggers
gunicorn/glogging.py:88
↓ 2 callersFunctionmake_uwsgi_packet_with_body
Create uWSGI packet with body for testing.
tests/test_uwsgi.py:42
↓ 2 callersMethodmurder_pending
Close expired pending connections (waiting for initial data).
gunicorn/workers/gthread.py:333
↓ 2 callersMethodmurder_workers
Kill workers that have timed out.
gunicorn/dirty/arbiter.py:1051
↓ 2 callersMethodnotify
(self)
gunicorn/workers/workertmp.py:42
↓ 2 callersMethodnworkers_changed
(server, new_value, old_value)
gunicorn/config.py:2067
↓ 2 callersMethodon_dirty_starting
(arbiter)
gunicorn/config.py:3096
↓ 2 callersMethodparse_headers
(self, data, from_trailer=False)
gunicorn/http/message.py:303
↓ 2 callersMethodread
(self, size)
gunicorn/http/body.py:126
↓ 2 callersMethodread
(self, size)
gunicorn/http/body.py:157
↓ 2 callersMethodreadexactly
(self, n)
benchmarks/dirty_streaming.py:94
↓ 2 callersMethodreadlines
(self, size=None)
gunicorn/http/body.py:263
↓ 2 callersMethodreap_dirty_arbiter
\ Reap the dirty arbiter process if it has exited.
gunicorn/arbiter.py:962
↓ 2 callersMethodreload
Reload workers (SIGHUP handling).
gunicorn/dirty/arbiter.py:1095
↓ 2 callersMethodreload
Trigger graceful reload (equivalent to SIGHUP). Returns: Dictionary with status
gunicorn/ctl/handlers.py:419
↓ 2 callersMethodrename
(self, path)
gunicorn/pidfile.py:48
↓ 2 callersMethodreopen
Reopen log files (equivalent to SIGUSR1). Returns: Dictionary with status
gunicorn/ctl/handlers.py:430
↓ 2 callersMethodreset
(self)
tests/test_statsd.py:52
↓ 2 callersMethodresize
Resize an image. Equivalent to Celery: @app.task def resize_image(image_path, width, height):
examples/celery_alternative/tasks.py:193
↓ 2 callersFunctionrun
\ The ``gunicorn`` command line runner for launching Gunicorn with generic WSGI applications.
gunicorn/app/wsgiapp.py:60
↓ 2 callersMethodrun
\ This is the mainloop of a worker process. You should override this method in a subclass to provide the intended behaviour fo
gunicorn/workers/base.py:78
↓ 2 callersMethodsend
(message)
gunicorn/asgi/protocol.py:963
↓ 2 callersFunctionsend_error
Send an error response.
tests/docker/asgi_compliance/apps/http_app.py:586
↓ 2 callersMethodsend_error
Send an error response on a stream.
gunicorn/http2/async_connection.py:527
↓ 2 callersFunctionserialize_scope
Convert ASGI scope to JSON-serializable dict.
tests/docker/asgi_framework_compat/frameworks/litestar_app/app.py:40
↓ 2 callersFunctionserialize_scope
Convert ASGI scope to JSON-serializable dict.
tests/docker/asgi_framework_compat/frameworks/starlette_app/app.py:66
↓ 2 callersFunctionserialize_scope
Convert ASGI scope to JSON-serializable dict.
tests/docker/asgi_framework_compat/frameworks/fastapi_app/app.py:62
↓ 2 callersFunctionserialize_scope
Convert ASGI scope to JSON-serializable dict.
tests/docker/asgi_framework_compat/frameworks/blacksheep_app/app.py:42
↓ 2 callersFunctionserialize_scope
Convert ASGI scope to JSON-serializable dict.
tests/docker/asgi_framework_compat/frameworks/quart_app/app.py:40
↓ 2 callersMethodset_body_reader
(self)
gunicorn/http/message.py:378
↓ 2 callersMethodsetup
(self, app)
gunicorn/arbiter.py:109
↓ 2 callersMethodsetup
(self)
tests/docker/dirty_ttin_ttou/app.py:30
↓ 2 callersMethodshould_close
Check if connection should close after this request. HTTP/2 connections are persistent by design, but we may still need to close if e
gunicorn/http2/request.py:172
↓ 2 callersMethodshow_config
Return current effective configuration. Returns: Dictionary of configuration values
gunicorn/ctl/handlers.py:129
↓ 2 callersMethodshow_dirty
Return dirty workers and apps information. Returns: Dictionary with: - enabled: Whether dirty arbiter is run
gunicorn/ctl/handlers.py:69
↓ 2 callersMethodshow_stats
Return server statistics. Returns: Dictionary with: - uptime: Seconds since arbiter started - pi
gunicorn/ctl/handlers.py:164
↓ 2 callersMethodstream_lines
Stream response lines from URL.
tests/docker/asgi_compliance/conftest.py:344
↓ 2 callersFunctionsync_gen
()
benchmarks/dirty_streaming.py:214
↓ 2 callersMethodszread
(self, func, sizes)
tests/treq.py:160
↓ 2 callersMethodtimer
(self, name, value)
gunicorn/instrument/statsd.py:122
↓ 2 callersMethodwait_closed
(self)
tests/test_dirty_arbiter.py:60
↓ 2 callersMethodwait_closed
(self)
tests/dirty/test_worker_streaming.py:57
↓ 2 callersMethodwatchdog
(self)
gunicorn/workers/gtornado.py:45
↓ 2 callersMethodworker_abort
(worker)
gunicorn/config.py:1960
↓ 2 callersMethodworker_exit
(server, worker)
gunicorn/config.py:2050
↓ 2 callersMethodwrite
(self, data)
tests/test_dirty_arbiter.py:34
↓ 1 callersMethod__init__
(self, extra_files=None, interval=1, callback=None)
gunicorn/reloader.py:20
↓ 1 callersMethod__init__
(self, cfg)
gunicorn/glogging.py:183
↓ 1 callersMethod__init__
(self, address, conf, log, fd=None)
gunicorn/sock.py:21
↓ 1 callersMethod__init__
(self, cfg, unreader, peer_addr)
gunicorn/http/message.py:181
↓ 1 callersMethod__init__
(self, cfg, sock, client, server)
gunicorn/workers/gthread.py:43
↓ 1 callersMethod__init__
(self)
tests/test_dirty_integration.py:20
↓ 1 callersMethod__setitem__
(self, key, value)
gunicorn/dirty/stash.py:367
↓ 1 callersMethod_arm_keepalive_timer
Arm keepalive timeout timer after response completion.
gunicorn/asgi/protocol.py:660
↓ 1 callersMethod_async_parse
Async version of parse() - reads data then uses sync parsing.
gunicorn/asgi/uwsgi.py:87
↓ 1 callersMethod_async_read_exact
Read exactly size bytes asynchronously.
gunicorn/asgi/uwsgi.py:111
↓ 1 callersMethod_build_http2_environ
Build minimal environ dict for access logging.
gunicorn/asgi/protocol.py:1787
↓ 1 callersMethod_build_messages
(self)
benchmarks/dirty_streaming.py:432
↓ 1 callersMethod_build_receive_result
Build receive result after waiting for data.
gunicorn/asgi/protocol.py:260
↓ 1 callersFunction_build_worker
(loop, app, http_parser)
tests/test_asgi_keepalive_smuggling.py:87
↓ 1 callersFunction_called_with_wrong_args
Check whether calling a function raised a ``TypeError`` because the call failed or because something in the function raised the error. :p
gunicorn/util.py:386
↓ 1 callersFunction_check_fast_parser
Check if fast C parser is available and should be used. Returns False if: - http_parser='python' is explicitly set - gunicorn_h1c is not
gunicorn/http/message.py:35
↓ 1 callersMethod_check_h1c_protocol_available
Check if H1CProtocol is available (cached at class level).
gunicorn/asgi/protocol.py:428
↓ 1 callersMethod_cleanup
Clean up resources on exit.
gunicorn/workers/gasgi.py:272
↓ 1 callersMethod_connect
Establish connection to arbiter.
gunicorn/dirty/stash.py:114
↓ 1 callersMethod_connect_smtp
Establish SMTP connection (simulated for demo).
examples/celery_alternative/tasks.py:57
↓ 1 callersFunction_consume_indented
(lines: List[str], start: int)
scripts/build_settings_doc.py:107
↓ 1 callersFunction_convert_desc
(desc: str)
scripts/build_settings_doc.py:121
↓ 1 callersFunction_convert_refs
(text: str)
scripts/build_settings_doc.py:81
↓ 1 callersMethod_create_mock_request
Create a mock HTTP request.
tests/test_asgi_forwarded_headers.py:169
↓ 1 callersMethod_create_mock_request
Create a mock HTTP request.
tests/test_asgi_forwarded_headers.py:216
↓ 1 callersMethod_create_protocol
Create an ASGIProtocol instance for testing.
tests/test_asgi_protocol_compat.py:50
↓ 1 callersMethod_create_protocol
Create an ASGIProtocol instance for testing.
tests/test_asgi_forwarded_headers.py:158
↓ 1 callersMethod_create_protocol
Create an ASGIProtocol instance for testing.
tests/test_asgi_forwarded_headers.py:205
↓ 1 callersMethod_dispatch
Dispatch command to appropriate handler. Args: message: Request message dict Returns: Response dict
gunicorn/ctl/server.py:288
↓ 1 callersMethod_execute_command
Execute a parsed command. Args: parts: Command parts (e.g., ["show", "workers"]) Returns: Handler r
gunicorn/ctl/server.py:325
↓ 1 callersMethod_execute_locked
Execute while holding the lock.
gunicorn/dirty/client.py:101
↓ 1 callersMethod_feed_callback_parser
Feed data to callback parser, handling parse errors. Returns True if parsing should continue, False if connection was closed.
gunicorn/asgi/protocol.py:610
↓ 1 callersMethod_finalize_headers
Called when all headers received. Validates headers for request smuggling vulnerabilities: - Rejects duplicate Content-Length headers
gunicorn/asgi/parser.py:581
↓ 1 callersFunction_format_cli
(setting: guncfg.Setting)
scripts/build_settings_doc.py:51
↓ 1 callersFunction_format_default
(setting: guncfg.Setting)
scripts/build_settings_doc.py:38
↓ 1 callersFunction_format_setting
(setting: guncfg.Setting)
scripts/build_settings_doc.py:195
↓ 1 callersFunction_get_alpn_protocols
Get ALPN protocol list from configuration. Returns list of ALPN protocol identifiers based on http_protocols setting. Returns empty list if H
gunicorn/sock.py:238
↓ 1 callersMethod_get_buffered_data
Get all buffered data and reset buffer.
gunicorn/asgi/unreader.py:42
↓ 1 callersFunction_get_cached_date_header
Get cached Date header, updating once per second.
gunicorn/asgi/protocol.py:125
↓ 1 callersFunction_get_cached_status_line
Get cached status line bytes.
gunicorn/asgi/protocol.py:137
↓ 1 callersMethod_get_control_socket_path
Get the control socket path, making relative paths absolute.
gunicorn/arbiter.py:995
↓ 1 callersMethod_get_gunicorn_handler
(self, log)
gunicorn/glogging.py:424
↓ 1 callersMethod_get_request_id
Generate a unique request ID.
gunicorn/dirty/stash.py:110
↓ 1 callersMethod_get_response
Match prompt to a canned response. Args: prompt: User's input prompt Returns: str: Matched response text
examples/streaming_chat/chat_app.py:112
↓ 1 callersMethod_get_ssl_context
Get SSL context if configured.
gunicorn/workers/gasgi.py:260
↓ 1 callersMethod_get_user
(self, environ)
gunicorn/glogging.py:479
↓ 1 callersMethod_handle
(self, data)
tests/test_asgi_worker.py:485
↓ 1 callersMethod_handle_close
Handle incoming close frame.
gunicorn/asgi/websocket.py:372
↓ 1 callersMethod_handle_connection
Main request handling loop using callback-based parser. Uses synchronous parsing in data_received(), avoiding the async overhead of p
gunicorn/asgi/protocol.py:761
↓ 1 callersMethod_handle_connection_terminated
Handle ConnectionTerminated event (GOAWAY frame). Args: event: ConnectionTerminated event
gunicorn/http2/connection.py:316
↓ 1 callersMethod_handle_connection_terminated
Handle ConnectionTerminated event.
gunicorn/http2/async_connection.py:299
↓ 1 callersMethod_handle_connection_uwsgi
Handle uWSGI protocol connections (legacy path).
gunicorn/asgi/protocol.py:857
↓ 1 callersMethod_handle_continuation
Handle continuation frame (already processed in _read_frame).
gunicorn/asgi/websocket.py:390
↓ 1 callersMethod_handle_data_received
Handle DataReceived event. Args: event: DataReceived event with body data Returns: None (request completion
gunicorn/http2/connection.py:243
← previousnext →601–700 of 4,571, ranked by callers