Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/benoitc/gunicorn
/ functions
Functions
5,599 in github.com/benoitc/gunicorn
⨍
Functions
5,599
◇
Types & classes
1,147
↳
Endpoints
142
Method
test_worker_crash_app_reassigned_to_new_worker
When worker dies, new worker gets the app it had.
tests/dirty/test_per_app_worker_allocation.py:161
Method
test_worker_crash_app_still_accessible
When a dirty worker crashes, apps should still be accessible.
tests/docker/per_app_allocation/test_per_app_e2e.py:320
Method
test_worker_crash_other_workers_still_serve_app
When one of two workers dies, other still serves requests.
tests/dirty/test_per_app_worker_allocation.py:195
Method
test_worker_crash_sole_worker_app_unavailable_until_respawn
When sole worker for app dies, requests fail until respawn.
tests/dirty/test_per_app_worker_allocation.py:232
Method
test_worker_detects_parent_death
Test that worker detects when parent process dies.
tests/test_gthread.py:1250
Function
test_worker_error_response_status
(error, status, reason)
tests/test_request_line_error.py:20
Method
test_worker_exits_on_parent_death
Test that worker exits when parent dies.
tests/test_gthread.py:1262
Method
test_worker_get_thread_pool
Test thread pool creation.
tests/test_gthread.py:312
Method
test_worker_handle_exit
Test graceful shutdown signal handling.
tests/test_gthread.py:384
Method
test_worker_handles_async_generator
Test worker properly handles async generator from execute.
tests/dirty/test_streaming_integration.py:357
Method
test_worker_handles_sync_generator
Test worker properly handles sync generator from execute.
tests/dirty/test_streaming_integration.py:314
Method
test_worker_has_no_server_class
Test that GeventWorker has no server_class by default.
tests/workers/test_ggevent.py:32
Method
test_worker_has_no_wsgi_handler
Test that GeventWorker has no wsgi_handler by default.
tests/workers/test_ggevent.py:37
Method
test_worker_init
Test worker initialization.
tests/test_gtornado.py:72
Method
test_worker_init
Test worker initialization.
tests/test_asgi_worker.py:153
Method
test_worker_init
Test worker initialization.
tests/test_gthread.py:256
Method
test_worker_init_process
Test worker process initialization.
tests/test_gthread.py:293
Method
test_worker_is_parent_alive
Test parent process check.
tests/test_gthread.py:348
Method
test_worker_kill_not_found
Test killing a non-existent worker.
tests/ctl/test_handlers.py:274
Function
test_worker_kill_recovers
(stack)
tests/docker/stress/test_resilience.py:71
Method
test_worker_kill_success
Test killing a worker.
tests/ctl/test_handlers.py:261
Method
test_worker_loads_multiple_apps
Test that worker loads all configured apps.
tests/dirty/test_multi_app_routing.py:111
Method
test_worker_monitor_detects_parent_death
Test worker monitor exits when parent dies.
tests/test_dirty_arbiter.py:1046
Method
test_worker_monitor_loop
Test worker monitor runs periodically.
tests/test_dirty_arbiter.py:1013
Method
test_worker_murder_keepalived
Test that expired keepalive connections are cleaned up.
tests/test_gthread.py:321
Method
test_worker_notifies_in_run_loop
Test that worker calls notify() during the run loop.
tests/test_gthread.py:996
Method
test_worker_remove_cannot_go_below_one
Test that worker count cannot go below 1.
tests/ctl/test_handlers.py:244
Method
test_worker_remove_default
Test removing one worker (default).
tests/ctl/test_handlers.py:230
Method
test_worker_routes_mixed_requests
Test routing interleaved requests to different apps.
tests/dirty/test_multi_app_routing.py:252
Method
test_worker_routes_to_counter_app
Test that worker routes request to CounterApp correctly.
tests/dirty/test_multi_app_routing.py:176
Method
test_worker_routes_to_echo_app
Test that worker routes request to EchoApp correctly.
tests/dirty/test_multi_app_routing.py:211
Method
test_worker_set_accept_enabled
Test enabling and disabling connection acceptance.
tests/test_gthread.py:360
Function
test_worker_stopping_mid_request_closes
(http_parser)
tests/test_asgi_request_base.py:69
Method
test_worker_tmp_file_can_be_monitored
Test that worker tmp file can be used by arbiter for monitoring. The arbiter monitors workers by checking: time.monotonic() - last_update() <
tests/test_gthread.py:1287
Method
test_worker_to_worker_communication
Test protocol communication between worker and arbiter.
tests/test_dirty_integration.py:127
Method
test_worker_wait_for_events
Test event waiting with dispatch.
tests/test_gthread.py:395
Method
test_workers_inherited_by_default
Subclass without workers attr inherits None.
tests/test_dirty_app.py:210
Method
test_works_with_existing_directory
Test that server works when parent directory already exists.
tests/ctl/test_server.py:450
Method
test_write_error_raises_connection_error
(self)
tests/test_http2_async_connection.py:560
Function
test_written_with_mode_0600
(tmp_path)
tests/test_dirty_pidfile.py:14
Method
test_wrong_length_is_refused
(self)
tests/test_http2_h2c.py:2337
Method
test_wrong_protocol
(self)
tests/test_http2_h2c.py:695
Function
test_wsgi_accepts_chunked_as_final_coding
(wsgi_parser, raw)
tests/test_transfer_encoding.py:112
Function
test_wsgi_app_config
(options, expected)
tests/test_config.py:484
Method
test_wsgi_callable_wrapped_in_container
Test that a plain WSGI callable gets wrapped in WSGIContainer.
tests/test_gtornado.py:288
Function
test_wsgi_rejects_bare_lf
(raw)
tests/test_bare_lf.py:46
Function
test_wsgi_rejects_transfer_encoding_not_ending_with_chunked
(wsgi_parser, raw)
tests/test_transfer_encoding.py:86
Method
test_wsgi_url_scheme
Test scheme from wsgi.url_scheme variable.
tests/test_uwsgi.py:168
Method
test_wss_connection
Test WSS connection.
tests/docker/asgi_compliance/test_websocket_compliance.py:562
Method
test_wss_scope_scheme
Test WSS scope has correct scheme.
tests/docker/asgi_compliance/test_websocket_compliance.py:570
Method
test_wss_through_proxy
Test WSS through nginx proxy.
tests/docker/asgi_compliance/test_websocket_compliance.py:578
Method
test_x_forwarded_for_in_headers
X-Forwarded-For header should be passed through.
tests/test_asgi_forwarded_headers.py:51
Method
test_x_forwarded_for_multiple_addresses
X-Forwarded-For can contain multiple addresses.
tests/test_asgi_forwarded_headers.py:67
Method
test_x_forwarded_host_in_headers
X-Forwarded-Host should be passed through.
tests/test_asgi_forwarded_headers.py:181
Method
test_x_forwarded_port_in_headers
X-Forwarded-Port should be passed through.
tests/test_asgi_forwarded_headers.py:228
Method
test_x_forwarded_proto_http
X-Forwarded-Proto: http should be passed through.
tests/test_asgi_forwarded_headers.py:119
Method
test_x_forwarded_proto_https
X-Forwarded-Proto: https should be passed through.
tests/test_asgi_forwarded_headers.py:135
Method
test_zero_content_length
Zero Content-Length should have no body.
tests/test_asgi_protocol_http.py:162
Method
test_zero_timeouts_disable_socket_timeout
(self)
tests/test_http2_connection.py:2017
Method
test_zero_value_is_rejected
0 would advertise a connection that can open no streams.
tests/test_http2_config.py:112
Method
timeout_ctx
(self)
gunicorn/workers/ggevent.py:53
Function
toggleSection
(e)
docs/content/assets/javascripts/toc-collapse.js:47
Function
tracer
(frame, event, arg)
benchmarks/asgi/profile_requests.py:201
Method
tracking_notify
()
tests/test_gthread.py:1010
Method
trailers
Trailing headers, available once the whole body has been read.
gunicorn/http2/request.py:299
Method
trickle
()
tests/test_http2_h2c.py:335
Method
uid
(self)
gunicorn/config.py:164
Method
unacked_size
Bytes received on this stream not yet credited back to the peer.
gunicorn/http2/stream.py:333
Function
unlink
(filename)
gunicorn/util.py:223
Method
unload_model
Unload a model from memory.
examples/dirty_example/dirty_app.py:104
Function
unquote_to_wsgi_str
(string)
gunicorn/util.py:702
Method
unread
Push data back into the buffer for re-reading. Args: data: bytes to push back Note: This prepends data to the buffer so
gunicorn/asgi/unreader.py:118
Function
unspew
Remove the trace hook installed by spew.
gunicorn/debug.py:65
Method
until_answered
()
tests/test_http2_h2c.py:1078
Method
until_answered
()
tests/test_http2_h2c.py:1223
Method
until_answered
()
tests/test_http2_h2c.py:1655
Method
until_answered
()
tests/test_http2_h2c.py:2201
Method
until_closed
()
tests/test_http2_h2c.py:1349
Method
until_closed
()
tests/test_http2_h2c.py:2013
Method
until_done
()
tests/test_http2_h2c.py:1536
Method
until_done
()
tests/test_http2_h2c.py:1823
Method
until_done
()
tests/test_http2_h2c.py:1895
Method
until_resumed
()
tests/test_http2_h2c.py:1630
Function
upgrade_allowed
Whether to honour an ``Upgrade: h2c`` request from this peer.
gunicorn/http2/negotiation.py:91
Function
upgrade_settings
Return the HTTP2-Settings payload if this request asks for h2c. RFC 7540 section 3.2: the request must name ``h2c`` in Upgrade and carry exac
gunicorn/http2/negotiation.py:148
Function
uri
(data)
tests/treq_asgi.py:64
Function
validate_asgi_lifespan
(val)
gunicorn/config.py:2915
Function
validate_asgi_loop
(val)
gunicorn/config.py:2904
Function
validate_bool
(val)
gunicorn/config.py:399
Function
validate_chdir
(val)
gunicorn/config.py:613
Function
validate_class
(val)
gunicorn/config.py:538
Function
validate_dict
(val)
gunicorn/config.py:415
Function
validate_group
(val)
gunicorn/config.py:584
Function
validate_header_map_behaviour
(val)
gunicorn/config.py:2835
Function
validate_http2_cleartext
(val)
gunicorn/config.py:385
Function
validate_http2_frame_size
Validate HTTP/2 max frame size per RFC 7540.
gunicorn/config.py:447
Function
validate_http2_stream_limit
(val)
gunicorn/config.py:440
Function
validate_http2_window_size
Flow control windows are at most 2^31-1 (RFC 9113 section 6.9.1).
gunicorn/config.py:432
Function
validate_http_parser
Validate http_parser setting. Accepts: auto, fast, python
gunicorn/config.py:2926
Function
validate_http_protocols
Validate http_protocols setting. Accepts comma-separated list of protocol identifiers. Valid values: h1 (HTTP/1.1), h2 (HTTP/2) Order ind
gunicorn/config.py:2498
← previous
next →
5,401–5,500 of 5,599, ranked by callers