MCPcopy Create free account

hub / github.com/benoitc/gunicorn / functions

Functions5,599 in github.com/benoitc/gunicorn

Methodtest_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
Methodtest_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
Methodtest_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
Methodtest_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
Methodtest_worker_detects_parent_death
Test that worker detects when parent process dies.
tests/test_gthread.py:1250
Functiontest_worker_error_response_status
(error, status, reason)
tests/test_request_line_error.py:20
Methodtest_worker_exits_on_parent_death
Test that worker exits when parent dies.
tests/test_gthread.py:1262
Methodtest_worker_get_thread_pool
Test thread pool creation.
tests/test_gthread.py:312
Methodtest_worker_handle_exit
Test graceful shutdown signal handling.
tests/test_gthread.py:384
Methodtest_worker_handles_async_generator
Test worker properly handles async generator from execute.
tests/dirty/test_streaming_integration.py:357
Methodtest_worker_handles_sync_generator
Test worker properly handles sync generator from execute.
tests/dirty/test_streaming_integration.py:314
Methodtest_worker_has_no_server_class
Test that GeventWorker has no server_class by default.
tests/workers/test_ggevent.py:32
Methodtest_worker_has_no_wsgi_handler
Test that GeventWorker has no wsgi_handler by default.
tests/workers/test_ggevent.py:37
Methodtest_worker_init
Test worker initialization.
tests/test_gtornado.py:72
Methodtest_worker_init
Test worker initialization.
tests/test_asgi_worker.py:153
Methodtest_worker_init
Test worker initialization.
tests/test_gthread.py:256
Methodtest_worker_init_process
Test worker process initialization.
tests/test_gthread.py:293
Methodtest_worker_is_parent_alive
Test parent process check.
tests/test_gthread.py:348
Methodtest_worker_kill_not_found
Test killing a non-existent worker.
tests/ctl/test_handlers.py:274
Functiontest_worker_kill_recovers
(stack)
tests/docker/stress/test_resilience.py:71
Methodtest_worker_kill_success
Test killing a worker.
tests/ctl/test_handlers.py:261
Methodtest_worker_loads_multiple_apps
Test that worker loads all configured apps.
tests/dirty/test_multi_app_routing.py:111
Methodtest_worker_monitor_detects_parent_death
Test worker monitor exits when parent dies.
tests/test_dirty_arbiter.py:1046
Methodtest_worker_monitor_loop
Test worker monitor runs periodically.
tests/test_dirty_arbiter.py:1013
Methodtest_worker_murder_keepalived
Test that expired keepalive connections are cleaned up.
tests/test_gthread.py:321
Methodtest_worker_notifies_in_run_loop
Test that worker calls notify() during the run loop.
tests/test_gthread.py:996
Methodtest_worker_remove_cannot_go_below_one
Test that worker count cannot go below 1.
tests/ctl/test_handlers.py:244
Methodtest_worker_remove_default
Test removing one worker (default).
tests/ctl/test_handlers.py:230
Methodtest_worker_routes_mixed_requests
Test routing interleaved requests to different apps.
tests/dirty/test_multi_app_routing.py:252
Methodtest_worker_routes_to_counter_app
Test that worker routes request to CounterApp correctly.
tests/dirty/test_multi_app_routing.py:176
Methodtest_worker_routes_to_echo_app
Test that worker routes request to EchoApp correctly.
tests/dirty/test_multi_app_routing.py:211
Methodtest_worker_set_accept_enabled
Test enabling and disabling connection acceptance.
tests/test_gthread.py:360
Functiontest_worker_stopping_mid_request_closes
(http_parser)
tests/test_asgi_request_base.py:69
Methodtest_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
Methodtest_worker_to_worker_communication
Test protocol communication between worker and arbiter.
tests/test_dirty_integration.py:127
Methodtest_worker_wait_for_events
Test event waiting with dispatch.
tests/test_gthread.py:395
Methodtest_workers_inherited_by_default
Subclass without workers attr inherits None.
tests/test_dirty_app.py:210
Methodtest_works_with_existing_directory
Test that server works when parent directory already exists.
tests/ctl/test_server.py:450
Methodtest_write_error_raises_connection_error
(self)
tests/test_http2_async_connection.py:560
Functiontest_written_with_mode_0600
(tmp_path)
tests/test_dirty_pidfile.py:14
Methodtest_wrong_length_is_refused
(self)
tests/test_http2_h2c.py:2337
Methodtest_wrong_protocol
(self)
tests/test_http2_h2c.py:695
Functiontest_wsgi_accepts_chunked_as_final_coding
(wsgi_parser, raw)
tests/test_transfer_encoding.py:112
Functiontest_wsgi_app_config
(options, expected)
tests/test_config.py:484
Methodtest_wsgi_callable_wrapped_in_container
Test that a plain WSGI callable gets wrapped in WSGIContainer.
tests/test_gtornado.py:288
Functiontest_wsgi_rejects_bare_lf
(raw)
tests/test_bare_lf.py:46
Functiontest_wsgi_rejects_transfer_encoding_not_ending_with_chunked
(wsgi_parser, raw)
tests/test_transfer_encoding.py:86
Methodtest_wsgi_url_scheme
Test scheme from wsgi.url_scheme variable.
tests/test_uwsgi.py:168
Methodtest_wss_connection
Test WSS connection.
tests/docker/asgi_compliance/test_websocket_compliance.py:562
Methodtest_wss_scope_scheme
Test WSS scope has correct scheme.
tests/docker/asgi_compliance/test_websocket_compliance.py:570
Methodtest_wss_through_proxy
Test WSS through nginx proxy.
tests/docker/asgi_compliance/test_websocket_compliance.py:578
Methodtest_x_forwarded_for_in_headers
X-Forwarded-For header should be passed through.
tests/test_asgi_forwarded_headers.py:51
Methodtest_x_forwarded_for_multiple_addresses
X-Forwarded-For can contain multiple addresses.
tests/test_asgi_forwarded_headers.py:67
Methodtest_x_forwarded_host_in_headers
X-Forwarded-Host should be passed through.
tests/test_asgi_forwarded_headers.py:181
Methodtest_x_forwarded_port_in_headers
X-Forwarded-Port should be passed through.
tests/test_asgi_forwarded_headers.py:228
Methodtest_x_forwarded_proto_http
X-Forwarded-Proto: http should be passed through.
tests/test_asgi_forwarded_headers.py:119
Methodtest_x_forwarded_proto_https
X-Forwarded-Proto: https should be passed through.
tests/test_asgi_forwarded_headers.py:135
Methodtest_zero_content_length
Zero Content-Length should have no body.
tests/test_asgi_protocol_http.py:162
Methodtest_zero_timeouts_disable_socket_timeout
(self)
tests/test_http2_connection.py:2017
Methodtest_zero_value_is_rejected
0 would advertise a connection that can open no streams.
tests/test_http2_config.py:112
Methodtimeout_ctx
(self)
gunicorn/workers/ggevent.py:53
FunctiontoggleSection
(e)
docs/content/assets/javascripts/toc-collapse.js:47
Functiontracer
(frame, event, arg)
benchmarks/asgi/profile_requests.py:201
Methodtracking_notify
()
tests/test_gthread.py:1010
Methodtrailers
Trailing headers, available once the whole body has been read.
gunicorn/http2/request.py:299
Methodtrickle
()
tests/test_http2_h2c.py:335
Methoduid
(self)
gunicorn/config.py:164
Methodunacked_size
Bytes received on this stream not yet credited back to the peer.
gunicorn/http2/stream.py:333
Functionunlink
(filename)
gunicorn/util.py:223
Methodunload_model
Unload a model from memory.
examples/dirty_example/dirty_app.py:104
Functionunquote_to_wsgi_str
(string)
gunicorn/util.py:702
Methodunread
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
Functionunspew
Remove the trace hook installed by spew.
gunicorn/debug.py:65
Methoduntil_answered
()
tests/test_http2_h2c.py:1078
Methoduntil_answered
()
tests/test_http2_h2c.py:1223
Methoduntil_answered
()
tests/test_http2_h2c.py:1655
Methoduntil_answered
()
tests/test_http2_h2c.py:2201
Methoduntil_closed
()
tests/test_http2_h2c.py:1349
Methoduntil_closed
()
tests/test_http2_h2c.py:2013
Methoduntil_done
()
tests/test_http2_h2c.py:1536
Methoduntil_done
()
tests/test_http2_h2c.py:1823
Methoduntil_done
()
tests/test_http2_h2c.py:1895
Methoduntil_resumed
()
tests/test_http2_h2c.py:1630
Functionupgrade_allowed
Whether to honour an ``Upgrade: h2c`` request from this peer.
gunicorn/http2/negotiation.py:91
Functionupgrade_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
Functionuri
(data)
tests/treq_asgi.py:64
Functionvalidate_asgi_lifespan
(val)
gunicorn/config.py:2915
Functionvalidate_asgi_loop
(val)
gunicorn/config.py:2904
Functionvalidate_bool
(val)
gunicorn/config.py:399
Functionvalidate_chdir
(val)
gunicorn/config.py:613
Functionvalidate_class
(val)
gunicorn/config.py:538
Functionvalidate_dict
(val)
gunicorn/config.py:415
Functionvalidate_group
(val)
gunicorn/config.py:584
Functionvalidate_header_map_behaviour
(val)
gunicorn/config.py:2835
Functionvalidate_http2_cleartext
(val)
gunicorn/config.py:385
Functionvalidate_http2_frame_size
Validate HTTP/2 max frame size per RFC 7540.
gunicorn/config.py:447
Functionvalidate_http2_stream_limit
(val)
gunicorn/config.py:440
Functionvalidate_http2_window_size
Flow control windows are at most 2^31-1 (RFC 9113 section 6.9.1).
gunicorn/config.py:432
Functionvalidate_http_parser
Validate http_parser setting. Accepts: auto, fast, python
gunicorn/config.py:2926
Functionvalidate_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
← previousnext →5,401–5,500 of 5,599, ranked by callers