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_shutdown_graceful
Test graceful shutdown.
tests/ctl/test_handlers.py:386
Method
test_shutdown_quick
Test quick shutdown.
tests/ctl/test_handlers.py:398
Method
test_shutdown_sends_shutdown_event
Shutdown should send lifespan.shutdown event.
tests/test_asgi_lifespan.py:211
Method
test_shutdown_without_server
Test that _shutdown works when server is None.
tests/test_dirty_worker.py:594
Method
test_shutdown_without_server
Test _shutdown when server is None.
tests/test_dirty_arbiter.py:550
Method
test_sigchld_handler_with_loop
Test SIGCHLD signal creates task on loop.
tests/test_dirty_arbiter.py:1110
Method
test_sigchld_has_separate_handler
Verify that SIGCHLD uses a separate signal handler from other signals.
tests/test_arbiter.py:310
Method
test_sighup_handler_with_loop
Test SIGHUP signal schedules reload.
tests/test_dirty_arbiter.py:1138
Method
test_sighup_reload
Verify SIGHUP triggers reload.
tests/test_signal_integration.py:194
Method
test_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
Method
test_signal_handler_sets_alive_false
Test that signal handler sets alive to False.
tests/test_dirty_worker.py:419
Method
test_signal_handler_sigabrt
Test SIGABRT handling (timeout signal).
tests/test_dirty_worker.py:539
Method
test_signal_handler_sigint
Test SIGINT handling.
tests/test_dirty_worker.py:518
Method
test_signal_handler_sigint
Test SIGINT handling.
tests/test_dirty_arbiter.py:471
Method
test_signal_handler_sigquit
Test SIGQUIT handling.
tests/test_dirty_worker.py:497
Method
test_signal_handler_sigquit
Test SIGQUIT handling.
tests/test_dirty_arbiter.py:457
Method
test_signal_handler_sigterm
Test SIGTERM handling.
tests/test_dirty_arbiter.py:443
Method
test_signal_handler_sigusr1_reopens_logs
Test that SIGUSR1 calls reopen_files.
tests/test_dirty_worker.py:441
Method
test_signal_handler_sigusr1_reopens_logs
Test SIGUSR1 reopens log files.
tests/test_dirty_arbiter.py:485
Method
test_signal_handler_with_loop
Test signal handler calls _shutdown with loop.
tests/test_dirty_arbiter.py:500
Method
test_signal_handler_with_loop_calls_shutdown
Test that signal handler with loop calls shutdown.
tests/test_dirty_worker.py:464
Method
test_signal_queued_on_receipt
Verify that signals are queued when the signal handler is called.
tests/test_arbiter.py:347
Method
test_signals_list_contains_expected
Verify that SIGNALS list contains all expected signal types.
tests/test_arbiter.py:329
Method
test_sigquit_does_not_wait_for_threads
Test that SIGQUIT calls tpool.shutdown(wait=False).
tests/test_gthread.py:1423
Method
test_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
Method
test_sigterm_does_not_interrupt_active_request
Test that SIGTERM doesn't immediately interrupt active requests.
tests/test_gthread.py:1209
Method
test_sigterm_then_sigquit
Test SIGQUIT after SIGTERM for force kill.
tests/test_gthread.py:1405
Method
test_simple_ascii_path
Test that simple ASCII paths work unchanged.
tests/test_asgi_callback_parser.py:491
Method
test_simple_get
Parse a simple GET request.
tests/test_asgi_callback_parser.py:33
Method
test_simple_get
Test basic GET request over HTTP/2.
tests/docker/http2/test_http2_docker.py:29
Method
test_simple_get_request
Test a simple GET request lifecycle.
tests/test_http2_stream.py:624
Method
test_simple_get_request
Test parsing a simple GET request.
tests/test_python_protocol.py:16
Method
test_simple_get_via_proxy
Test basic GET through nginx proxy.
tests/docker/http2/test_http2_docker.py:160
Method
test_simple_path
Test simple path handling.
tests/test_asgi_http_scope.py:127
Method
test_simple_query
Test simple query parameter.
tests/docker/asgi_compliance/test_http_compliance.py:341
Method
test_simple_query_string
Test simple query string.
tests/test_asgi_http_scope.py:209
Method
test_single_byte_chunks
Test with very small chunks.
tests/docker/asgi_compliance/test_streaming_compliance.py:428
Method
test_single_copy_is_kept
One DATA frame is handed back as-is: no join, no second buffer.
tests/test_http2_stream.py:483
Method
test_single_header
Parse a request with single header.
tests/test_asgi_callback_parser.py:92
Method
test_single_occurrence_accepted
(self, http_parser)
tests/test_asgi_invalid_requests.py:132
Method
test_single_subprotocol
Test single subprotocol negotiation.
tests/docker/asgi_compliance/test_websocket_compliance.py:167
Method
test_single_var
(self)
tests/test_uwsgi.py:67
Method
test_skip_body_callback
Test on_headers_complete returning True skips body.
tests/test_python_protocol.py:339
Method
test_skip_body_on_headers_complete
Return True from on_headers_complete skips body parsing.
tests/test_asgi_callback_parser.py:412
Function
test_slow_reader_is_cancelled_after_timeout
(server, client)
tests/test_http2_live.py:252
Method
test_slow_stream_chunks_timed
Test slow stream chunks arrive at intervals.
tests/docker/asgi_compliance/test_streaming_compliance.py:212
Method
test_slow_stream_completes
Test slow stream eventually completes.
tests/docker/asgi_compliance/test_streaming_compliance.py:202
Function
test_smoke
(stack, config)
tests/docker/stress/test_stress.py:23
Function
test_socket_close
()
tests/test_sock.py:84
Method
test_socket_error_raises_connection_error
(self)
tests/test_http2_connection.py:265
Method
test_socket_permissions
Test that socket is created with correct permissions.
tests/ctl/test_server.py:390
Function
test_socket_unreader_chunk
()
tests/test_http.py:195
Function
test_socket_unreader_chunk_size_hint
()
tests/test_http.py:237
Function
test_some_pings_leave_the_connection_serving
(server, client)
tests/test_http2_live.py:284
Method
test_space_before_colon_rejected
A space before the colon must not be stripped into a valid name.
tests/test_asgi_parser_validation.py:500
Method
test_spawn_dirty_arbiter_calls_cleanup
Verify spawn_dirty_arbiter calls orphan cleanup before spawning.
tests/test_arbiter.py:982
Method
test_spawn_dirty_arbiter_passes_pidfile
Verify spawn_dirty_arbiter passes pidfile to DirtyArbiter.
tests/test_arbiter.py:1001
Method
test_spawn_worker_adds_to_workers_dict
Verify that spawn_worker adds the worker to WORKERS dict.
tests/test_arbiter.py:773
Method
test_special_characters_in_message
Test messages with special characters.
tests/docker/asgi_compliance/test_websocket_compliance.py:667
Method
test_special_characters_in_path
Test handling of special path that triggers 404.
tests/docker/uwsgi/test_uwsgi_integration.py:301
Method
test_split_preface_selects_http2
Preface arriving in two segments is still recognized.
tests/test_http2_h2c.py:127
Function
test_split_request_uri
(test_input, expected)
tests/test_util.py:130
Method
test_sse_client_parses_data
Test SSE client parses event data.
tests/docker/asgi_compliance/test_streaming_compliance.py:148
Method
test_sse_client_receives_events
Test SSE client receives events.
tests/docker/asgi_compliance/test_streaming_compliance.py:143
Method
test_sse_comment
Test SSE comment (keep-alive).
tests/test_asgi_streaming.py:184
Method
test_sse_content_type
Test SSE Content-Type header.
tests/test_asgi_streaming.py:190
Method
test_sse_content_type
Test SSE has correct content type.
tests/docker/asgi_compliance/test_streaming_compliance.py:87
Method
test_sse_content_type
SSE response has correct content type.
tests/docker/asgi_framework_compat/tests/test_streaming.py:52
Method
test_sse_data_event
Test SSE data event format.
tests/test_asgi_streaming.py:144
Method
test_sse_data_is_json
Test SSE data contains valid JSON.
tests/docker/asgi_compliance/test_streaming_compliance.py:117
Method
test_sse_data_is_json
SSE data fields contain valid JSON.
tests/docker/asgi_framework_compat/tests/test_streaming.py:69
Method
test_sse_event_format
Test SSE event format.
tests/docker/asgi_compliance/test_streaming_compliance.py:93
Method
test_sse_event_format
SSE events have correct format.
tests/docker/asgi_framework_compat/tests/test_streaming.py:58
Method
test_sse_event_with_id
Test SSE event with ID.
tests/test_asgi_streaming.py:161
Method
test_sse_message_count
Correct number of SSE messages received.
tests/docker/asgi_framework_compat/tests/test_streaming.py:80
Method
test_sse_multiline_data
Test SSE multiline data.
tests/test_asgi_streaming.py:169
Method
test_sse_multiple_events
Test receiving multiple SSE events.
tests/docker/asgi_compliance/test_streaming_compliance.py:130
Method
test_sse_named_event
Test SSE named event format.
tests/test_asgi_streaming.py:151
Method
test_sse_no_delay
Test SSE with no delay between events.
tests/docker/asgi_compliance/test_streaming_compliance.py:436
Method
test_sse_response
SSE endpoint returns event stream.
tests/docker/asgi_framework_compat/tests/test_streaming.py:44
Method
test_sse_retry_directive
Test SSE retry directive.
tests/test_asgi_streaming.py:177
Function
test_ssl_config_scheme
Test SSL config sets https scheme.
tests/test_asgi_uwsgi.py:523
Method
test_ssl_context_no_alpn_when_h1_only
SSL context should not set ALPN for HTTP/1.1 only.
tests/test_http2_alpn.py:179
Method
test_ssl_context_sets_alpn_when_h2_available
SSL context should set ALPN protocols when h2 is available.
tests/test_http2_alpn.py:161
Method
test_ssl_server_creation
Test that SSL server is created when is_ssl is True.
tests/test_gtornado.py:440
Method
test_stacked_chunked_rejected
Stacked chunked encoding must be rejected.
tests/test_asgi_parser_validation.py:183
Method
test_stalled_body_read_resets_the_stream
(self)
tests/test_http2_connection.py:1987
Method
test_stalled_peer_is_cancelled_after_the_deadline
(self)
tests/test_http2_connection.py:1863
Method
test_stalled_preface_times_out
(self)
tests/test_http2_h2c.py:618
Method
test_standard_format
mod:Class' returns ('mod:Class', None).
tests/test_dirty_app.py:233
Method
test_standard_format_with_dots
mod.sub.pkg:Class' returns ('mod.sub.pkg:Class', None).
tests/test_dirty_app.py:239
Method
test_starlette_echo
Test Starlette echo endpoint.
tests/docker/asgi_compliance/test_framework_integration.py:79
Method
test_starlette_headers
Test Starlette headers endpoint.
tests/docker/asgi_compliance/test_framework_integration.py:91
Method
test_starlette_health
Test Starlette health endpoint.
tests/docker/asgi_compliance/test_framework_integration.py:114
Method
test_starlette_homepage
Test Starlette homepage.
tests/docker/asgi_compliance/test_framework_integration.py:52
Method
test_starlette_json
Test Starlette JSON response.
tests/docker/asgi_compliance/test_framework_integration.py:60
Method
test_starlette_json_query_params
Test Starlette query parameters.
tests/docker/asgi_compliance/test_framework_integration.py:69
Method
test_starlette_scope
Test Starlette scope endpoint.
tests/docker/asgi_compliance/test_framework_integration.py:104
Method
test_starlette_streaming
Test Starlette streaming response.
tests/docker/asgi_compliance/test_framework_integration.py:125
Method
test_starlette_streaming_chunks
Test Starlette streaming returns multiple chunks.
tests/docker/asgi_compliance/test_framework_integration.py:133
← previous
next →
4,901–5,000 of 5,599, ranked by callers