MCPcopy Create free account

hub / github.com/benoitc/gunicorn / functions

Functions5,599 in github.com/benoitc/gunicorn

Methodtest_shutdown_graceful
Test graceful shutdown.
tests/ctl/test_handlers.py:386
Methodtest_shutdown_quick
Test quick shutdown.
tests/ctl/test_handlers.py:398
Methodtest_shutdown_sends_shutdown_event
Shutdown should send lifespan.shutdown event.
tests/test_asgi_lifespan.py:211
Methodtest_shutdown_without_server
Test that _shutdown works when server is None.
tests/test_dirty_worker.py:594
Methodtest_shutdown_without_server
Test _shutdown when server is None.
tests/test_dirty_arbiter.py:550
Methodtest_sigchld_handler_with_loop
Test SIGCHLD signal creates task on loop.
tests/test_dirty_arbiter.py:1110
Methodtest_sigchld_has_separate_handler
Verify that SIGCHLD uses a separate signal handler from other signals.
tests/test_arbiter.py:310
Methodtest_sighup_handler_with_loop
Test SIGHUP signal schedules reload.
tests/test_dirty_arbiter.py:1138
Methodtest_sighup_reload
Verify SIGHUP triggers reload.
tests/test_signal_integration.py:194
Methodtest_signal_disconnect_sets_closed_only
signal_disconnect is the transport-disconnect path; it must set _closed without touching _body_wait_expired so the two conditions rema
tests/test_asgi_disconnect.py:297
Methodtest_signal_handler_sets_alive_false
Test that signal handler sets alive to False.
tests/test_dirty_worker.py:419
Methodtest_signal_handler_sigabrt
Test SIGABRT handling (timeout signal).
tests/test_dirty_worker.py:539
Methodtest_signal_handler_sigint
Test SIGINT handling.
tests/test_dirty_worker.py:518
Methodtest_signal_handler_sigint
Test SIGINT handling.
tests/test_dirty_arbiter.py:471
Methodtest_signal_handler_sigquit
Test SIGQUIT handling.
tests/test_dirty_worker.py:497
Methodtest_signal_handler_sigquit
Test SIGQUIT handling.
tests/test_dirty_arbiter.py:457
Methodtest_signal_handler_sigterm
Test SIGTERM handling.
tests/test_dirty_arbiter.py:443
Methodtest_signal_handler_sigusr1_reopens_logs
Test that SIGUSR1 calls reopen_files.
tests/test_dirty_worker.py:441
Methodtest_signal_handler_sigusr1_reopens_logs
Test SIGUSR1 reopens log files.
tests/test_dirty_arbiter.py:485
Methodtest_signal_handler_with_loop
Test signal handler calls _shutdown with loop.
tests/test_dirty_arbiter.py:500
Methodtest_signal_handler_with_loop_calls_shutdown
Test that signal handler with loop calls shutdown.
tests/test_dirty_worker.py:464
Methodtest_signal_queued_on_receipt
Verify that signals are queued when the signal handler is called.
tests/test_arbiter.py:347
Methodtest_signals_list_contains_expected
Verify that SIGNALS list contains all expected signal types.
tests/test_arbiter.py:329
Methodtest_sigquit_does_not_wait_for_threads
Test that SIGQUIT calls tpool.shutdown(wait=False).
tests/test_gthread.py:1423
Methodtest_sigquit_quick_shutdown
SIGQUIT should quickly shutdown both arbiters. SIGQUIT triggers a faster shutdown than SIGTERM.
tests/docker/dirty_arbiter/test_parent_death.py:453
Methodtest_sigterm_does_not_interrupt_active_request
Test that SIGTERM doesn't immediately interrupt active requests.
tests/test_gthread.py:1209
Methodtest_sigterm_then_sigquit
Test SIGQUIT after SIGTERM for force kill.
tests/test_gthread.py:1405
Methodtest_simple_ascii_path
Test that simple ASCII paths work unchanged.
tests/test_asgi_callback_parser.py:491
Methodtest_simple_get
Parse a simple GET request.
tests/test_asgi_callback_parser.py:33
Methodtest_simple_get
Test basic GET request over HTTP/2.
tests/docker/http2/test_http2_docker.py:29
Methodtest_simple_get_request
Test a simple GET request lifecycle.
tests/test_http2_stream.py:624
Methodtest_simple_get_request
Test parsing a simple GET request.
tests/test_python_protocol.py:16
Methodtest_simple_get_via_proxy
Test basic GET through nginx proxy.
tests/docker/http2/test_http2_docker.py:160
Methodtest_simple_path
Test simple path handling.
tests/test_asgi_http_scope.py:127
Methodtest_simple_query
Test simple query parameter.
tests/docker/asgi_compliance/test_http_compliance.py:341
Methodtest_simple_query_string
Test simple query string.
tests/test_asgi_http_scope.py:209
Methodtest_single_byte_chunks
Test with very small chunks.
tests/docker/asgi_compliance/test_streaming_compliance.py:428
Methodtest_single_copy_is_kept
One DATA frame is handed back as-is: no join, no second buffer.
tests/test_http2_stream.py:483
Methodtest_single_header
Parse a request with single header.
tests/test_asgi_callback_parser.py:92
Methodtest_single_occurrence_accepted
(self, http_parser)
tests/test_asgi_invalid_requests.py:132
Methodtest_single_subprotocol
Test single subprotocol negotiation.
tests/docker/asgi_compliance/test_websocket_compliance.py:167
Methodtest_single_var
(self)
tests/test_uwsgi.py:67
Methodtest_skip_body_callback
Test on_headers_complete returning True skips body.
tests/test_python_protocol.py:339
Methodtest_skip_body_on_headers_complete
Return True from on_headers_complete skips body parsing.
tests/test_asgi_callback_parser.py:412
Functiontest_slow_reader_is_cancelled_after_timeout
(server, client)
tests/test_http2_live.py:252
Methodtest_slow_stream_chunks_timed
Test slow stream chunks arrive at intervals.
tests/docker/asgi_compliance/test_streaming_compliance.py:212
Methodtest_slow_stream_completes
Test slow stream eventually completes.
tests/docker/asgi_compliance/test_streaming_compliance.py:202
Functiontest_smoke
(stack, config)
tests/docker/stress/test_stress.py:23
Functiontest_socket_close
()
tests/test_sock.py:84
Methodtest_socket_error_raises_connection_error
(self)
tests/test_http2_connection.py:265
Methodtest_socket_permissions
Test that socket is created with correct permissions.
tests/ctl/test_server.py:390
Functiontest_socket_unreader_chunk
()
tests/test_http.py:195
Functiontest_socket_unreader_chunk_size_hint
()
tests/test_http.py:237
Functiontest_some_pings_leave_the_connection_serving
(server, client)
tests/test_http2_live.py:284
Methodtest_space_before_colon_rejected
A space before the colon must not be stripped into a valid name.
tests/test_asgi_parser_validation.py:500
Methodtest_spawn_dirty_arbiter_calls_cleanup
Verify spawn_dirty_arbiter calls orphan cleanup before spawning.
tests/test_arbiter.py:982
Methodtest_spawn_dirty_arbiter_passes_pidfile
Verify spawn_dirty_arbiter passes pidfile to DirtyArbiter.
tests/test_arbiter.py:1001
Methodtest_spawn_worker_adds_to_workers_dict
Verify that spawn_worker adds the worker to WORKERS dict.
tests/test_arbiter.py:773
Methodtest_special_characters_in_message
Test messages with special characters.
tests/docker/asgi_compliance/test_websocket_compliance.py:667
Methodtest_special_characters_in_path
Test handling of special path that triggers 404.
tests/docker/uwsgi/test_uwsgi_integration.py:301
Methodtest_split_preface_selects_http2
Preface arriving in two segments is still recognized.
tests/test_http2_h2c.py:127
Functiontest_split_request_uri
(test_input, expected)
tests/test_util.py:130
Methodtest_sse_client_parses_data
Test SSE client parses event data.
tests/docker/asgi_compliance/test_streaming_compliance.py:148
Methodtest_sse_client_receives_events
Test SSE client receives events.
tests/docker/asgi_compliance/test_streaming_compliance.py:143
Methodtest_sse_comment
Test SSE comment (keep-alive).
tests/test_asgi_streaming.py:184
Methodtest_sse_content_type
Test SSE Content-Type header.
tests/test_asgi_streaming.py:190
Methodtest_sse_content_type
Test SSE has correct content type.
tests/docker/asgi_compliance/test_streaming_compliance.py:87
Methodtest_sse_content_type
SSE response has correct content type.
tests/docker/asgi_framework_compat/tests/test_streaming.py:52
Methodtest_sse_data_event
Test SSE data event format.
tests/test_asgi_streaming.py:144
Methodtest_sse_data_is_json
Test SSE data contains valid JSON.
tests/docker/asgi_compliance/test_streaming_compliance.py:117
Methodtest_sse_data_is_json
SSE data fields contain valid JSON.
tests/docker/asgi_framework_compat/tests/test_streaming.py:69
Methodtest_sse_event_format
Test SSE event format.
tests/docker/asgi_compliance/test_streaming_compliance.py:93
Methodtest_sse_event_format
SSE events have correct format.
tests/docker/asgi_framework_compat/tests/test_streaming.py:58
Methodtest_sse_event_with_id
Test SSE event with ID.
tests/test_asgi_streaming.py:161
Methodtest_sse_message_count
Correct number of SSE messages received.
tests/docker/asgi_framework_compat/tests/test_streaming.py:80
Methodtest_sse_multiline_data
Test SSE multiline data.
tests/test_asgi_streaming.py:169
Methodtest_sse_multiple_events
Test receiving multiple SSE events.
tests/docker/asgi_compliance/test_streaming_compliance.py:130
Methodtest_sse_named_event
Test SSE named event format.
tests/test_asgi_streaming.py:151
Methodtest_sse_no_delay
Test SSE with no delay between events.
tests/docker/asgi_compliance/test_streaming_compliance.py:436
Methodtest_sse_response
SSE endpoint returns event stream.
tests/docker/asgi_framework_compat/tests/test_streaming.py:44
Methodtest_sse_retry_directive
Test SSE retry directive.
tests/test_asgi_streaming.py:177
Functiontest_ssl_config_scheme
Test SSL config sets https scheme.
tests/test_asgi_uwsgi.py:523
Methodtest_ssl_context_no_alpn_when_h1_only
SSL context should not set ALPN for HTTP/1.1 only.
tests/test_http2_alpn.py:179
Methodtest_ssl_context_sets_alpn_when_h2_available
SSL context should set ALPN protocols when h2 is available.
tests/test_http2_alpn.py:161
Methodtest_ssl_server_creation
Test that SSL server is created when is_ssl is True.
tests/test_gtornado.py:440
Methodtest_stacked_chunked_rejected
Stacked chunked encoding must be rejected.
tests/test_asgi_parser_validation.py:183
Methodtest_stalled_body_read_resets_the_stream
(self)
tests/test_http2_connection.py:1987
Methodtest_stalled_peer_is_cancelled_after_the_deadline
(self)
tests/test_http2_connection.py:1863
Methodtest_stalled_preface_times_out
(self)
tests/test_http2_h2c.py:618
Methodtest_standard_format
mod:Class' returns ('mod:Class', None).
tests/test_dirty_app.py:233
Methodtest_standard_format_with_dots
mod.sub.pkg:Class' returns ('mod.sub.pkg:Class', None).
tests/test_dirty_app.py:239
Methodtest_starlette_echo
Test Starlette echo endpoint.
tests/docker/asgi_compliance/test_framework_integration.py:79
Methodtest_starlette_headers
Test Starlette headers endpoint.
tests/docker/asgi_compliance/test_framework_integration.py:91
Methodtest_starlette_health
Test Starlette health endpoint.
tests/docker/asgi_compliance/test_framework_integration.py:114
Methodtest_starlette_homepage
Test Starlette homepage.
tests/docker/asgi_compliance/test_framework_integration.py:52
Methodtest_starlette_json
Test Starlette JSON response.
tests/docker/asgi_compliance/test_framework_integration.py:60
Methodtest_starlette_json_query_params
Test Starlette query parameters.
tests/docker/asgi_compliance/test_framework_integration.py:69
Methodtest_starlette_scope
Test Starlette scope endpoint.
tests/docker/asgi_compliance/test_framework_integration.py:104
Methodtest_starlette_streaming
Test Starlette streaming response.
tests/docker/asgi_compliance/test_framework_integration.py:125
Methodtest_starlette_streaming_chunks
Test Starlette streaming returns multiple chunks.
tests/docker/asgi_compliance/test_framework_integration.py:133
← previousnext →4,901–5,000 of 5,599, ranked by callers