MCPcopy Create free account

hub / github.com/benoitc/gunicorn / functions

Functions5,599 in github.com/benoitc/gunicorn

Methodtest_close_code_1002_protocol_error
Test close with code 1002 (protocol error).
tests/test_asgi_protocol_compat.py:367
Methodtest_close_code_1008_policy_violation
Test close with code 1008 (policy violation).
tests/test_asgi_protocol_compat.py:382
Methodtest_close_code_1009_defined
Close code 1009 (message too big) should be defined.
tests/test_asgi_websocket_enhanced.py:25
Methodtest_close_code_1011_internal_error
Test close with code 1011 (internal error).
tests/test_asgi_protocol_compat.py:397
Methodtest_close_code_payload_format
Close frame payload should be code + optional reason.
tests/test_asgi_websocket_enhanced.py:433
Methodtest_close_codes
WebSocket closes with various codes.
tests/docker/asgi_framework_compat/tests/test_websocket_scope.py:177
Methodtest_close_connection
(self)
tests/test_http2_async_connection.py:460
Methodtest_close_connection
(self)
tests/test_http2_connection.py:450
Methodtest_close_dirty_client
Test closing thread-local client.
tests/test_dirty_client.py:214
Methodtest_close_ends_the_stream
(self)
tests/test_http2_response.py:45
Methodtest_close_frame_empty_reason
Test close frame with empty reason.
tests/test_asgi_websocket_protocol.py:560
Methodtest_close_frame_max_reason_length
Test close frame reason max length (125 - 2 = 123 bytes).
tests/test_asgi_websocket_protocol.py:572
Methodtest_close_frame_payload_format
Test close frame payload format (code + reason).
tests/test_asgi_websocket_protocol.py:543
Methodtest_close_going_away
Test going away code (1001).
tests/test_asgi_websocket_protocol.py:77
Methodtest_close_idempotent
(self)
tests/test_http2_async_connection.py:480
Methodtest_close_idempotent
Test that close can be called multiple times.
tests/test_dirty_client.py:69
Methodtest_close_idempotent
(self)
tests/test_http2_connection.py:471
Methodtest_close_idempotent
Test that close can be called multiple times.
tests/ctl/test_client.py:90
Methodtest_close_internal_error
Test internal server error code (1011).
tests/test_asgi_websocket_protocol.py:122
Methodtest_close_invalid_data
Test invalid frame payload data code (1007).
tests/test_asgi_websocket_protocol.py:102
Methodtest_close_is_idempotent
(self)
tests/test_http2_response.py:51
Methodtest_close_is_not_a_disconnect
(self)
tests/test_http2_stream.py:927
Methodtest_close_mandatory_ext
Test mandatory extension code (1010).
tests/test_asgi_websocket_protocol.py:117
Methodtest_close_message_too_big
Test message too big code (1009).
tests/test_asgi_websocket_protocol.py:112
Methodtest_close_no_status
Test no status received code (1005).
tests/test_asgi_websocket_protocol.py:92
Methodtest_close_normal
Test normal closure code (1000).
tests/test_asgi_websocket_protocol.py:72
Methodtest_close_normal
WebSocket closes with normal code 1000.
tests/docker/asgi_framework_compat/tests/test_websocket_scope.py:168
Methodtest_close_policy_violation
Test policy violation code (1008).
tests/test_asgi_websocket_protocol.py:107
Methodtest_close_protocol_error
Test protocol error code (1002).
tests/test_asgi_websocket_protocol.py:82
Methodtest_close_socket_clears_sock
Test that _close_socket clears the socket.
tests/test_dirty_client.py:318
Methodtest_close_stream
(self)
tests/test_http2_stream.py:402
Methodtest_close_then_read_raises
(self)
tests/test_http2_request.py:872
Methodtest_close_unsupported
Test unsupported data code (1003).
tests/test_asgi_websocket_protocol.py:87
Methodtest_close_with_custom_code
Close can specify custom close code.
tests/test_asgi_websocket_enhanced.py:100
Methodtest_close_with_reason
Close can include reason string.
tests/test_asgi_websocket_enhanced.py:120
Methodtest_close_with_reason
Test close with reason message.
tests/docker/asgi_compliance/test_websocket_compliance.py:246
Methodtest_close_worker_connection
Test _close_worker_connection method.
tests/test_dirty_arbiter.py:401
Methodtest_close_worker_connection_not_exists
Test _close_worker_connection when connection doesn't exist.
tests/test_dirty_arbiter.py:427
Methodtest_closed_connection_raises
(self)
tests/test_http2_request.py:888
Functiontest_cmd_line
()
tests/test_config.py:281
Functiontest_cmd_line_invalid_setting
(capsys)
tests/test_config.py:293
Methodtest_complete_body_cleanup_sends_no_reset
(self)
tests/test_http2_connection.py:1433
Methodtest_complete_preface
(self)
tests/test_http2_h2c.py:256
Methodtest_completed_task_not_cancelled
Completed tasks should not be cancelled.
tests/test_asgi_error_handling.py:257
Methodtest_compression_error
(self)
tests/test_http2_errors.py:71
Methodtest_concurrent_counter_access
Test concurrent counter access.
tests/docker/asgi_compliance/test_lifespan_compliance.py:226
Methodtest_concurrent_different_endpoints
Test concurrent connections to different endpoints.
tests/docker/asgi_compliance/test_websocket_compliance.py:613
Methodtest_concurrent_different_endpoints
Test concurrent requests to different endpoints.
tests/docker/asgi_compliance/test_concurrency.py:62
Methodtest_concurrent_early_hints
Test concurrent requests to early hints endpoint.
tests/docker/http2/test_http2_docker.py:379
Methodtest_concurrent_echo_requests
Test concurrent echo requests with unique data.
tests/docker/asgi_compliance/test_concurrency.py:45
Methodtest_concurrent_framework_requests
Test concurrent requests to both frameworks.
tests/docker/asgi_compliance/test_framework_integration.py:480
Methodtest_concurrent_futures_not_imported_by_arbiter
Test that importing gunicorn.arbiter does NOT import concurrent.futures. The dirty module (which uses asyncio and concurrent.futures) is now
tests/workers/test_gevent_import_order.py:43
Methodtest_concurrent_large_responses
Test concurrent large response handling.
tests/docker/asgi_compliance/test_concurrency.py:325
Methodtest_concurrent_mixed_requests
Test concurrent requests to different endpoints.
tests/docker/http2/test_http2_docker.py:123
Methodtest_concurrent_requests
Test handling multiple concurrent requests.
tests/test_http2_integration.py:204
Methodtest_concurrent_requests
Test concurrent requests.
tests/docker/asgi_compliance/test_http_compliance.py:434
Methodtest_concurrent_requests
Test multiple concurrent requests over single connection.
tests/docker/http2/test_http2_docker.py:105
Methodtest_concurrent_requests
Test that multiple concurrent requests are handled.
examples/celery_alternative/tests/test_integration.py:364
Methodtest_concurrent_requests_single_connection
Test concurrent requests on single HTTP/2 connection.
tests/docker/asgi_compliance/test_http2_asgi.py:69
Methodtest_concurrent_requests_sync
Test multiple concurrent requests using threads.
examples/http2_gevent/test_http2_gevent.py:168
Methodtest_concurrent_requests_to_different_apps
Test concurrent requests routed to different apps.
tests/dirty/test_multi_app_routing.py:447
Methodtest_concurrent_simple_requests
Test many concurrent simple requests.
tests/docker/asgi_compliance/test_concurrency.py:32
Methodtest_concurrent_streams
(self, async_http_client_factory, gunicorn_ssl_url)
tests/docker/asgi_compliance/test_http2_asgi.py:474
Methodtest_concurrent_streams_reasonable_default
Default should be reasonable for production use.
tests/test_http2_config.py:248
Methodtest_concurrent_via_proxy
Test concurrent requests through proxy.
tests/docker/http2/test_http2_docker.py:202
Methodtest_concurrent_websocket_many_messages
Test concurrent WebSocket connections with many messages each.
tests/docker/asgi_compliance/test_concurrency.py:128
Methodtest_concurrent_with_delays
Test concurrent requests with varying delays.
tests/docker/asgi_compliance/test_concurrency.py:87
Functiontest_config_file_environment_variable
(monkeypatch)
tests/test_config.py:451
Methodtest_config_format_module_class_n
Config 'mod:Class:2' correctly limits to 2 workers.
tests/dirty/test_per_app_worker_allocation.py:259
Methodtest_config_limited_app_uses_one_worker
ConfigLimitedApp (limited to 1 via config) should use only one worker.
tests/docker/per_app_allocation/test_per_app_e2e.py:231
Methodtest_config_limited_worker_crash_recovery
When the sole worker for ConfigLimitedApp crashes, it should recover.
tests/docker/per_app_allocation/test_per_app_e2e.py:341
Methodtest_config_override_takes_precedence_over_class_attribute
Config :N takes precedence over class workers attribute.
tests/dirty/test_per_app_worker_allocation.py:300
Methodtest_configuration_error_basic
(self)
tests/test_http2_errors.py:181
Methodtest_conflicting_scheme_headers_rejected
(self, parser_name)
tests/test_header_policy_parity.py:118
Methodtest_connect_already_connected
Test that connect is idempotent.
tests/ctl/test_client.py:66
Methodtest_connect_async_nonexistent_socket
Test async connecting to non-existent socket.
tests/test_dirty_client.py:80
Functiontest_connect_ends_the_connection
RFC 9931 section 8: after a CONNECT the app rejects, the pipelined bytes are not served as a request and the connection closes.
tests/test_asgi_keepalive_smuggling.py:364
Functiontest_connect_ends_the_connection
RFC 9931 section 8: what follows a CONNECT is tunnel data; it is never served as another request, whatever the application answered.
tests/test_http.py:844
Methodtest_connect_error
(self)
tests/test_http2_errors.py:75
Methodtest_connect_nonexistent_socket
Test connecting to non-existent socket.
tests/test_dirty_client.py:41
Methodtest_connect_nonexistent_socket
Test connecting to non-existent socket.
tests/ctl/test_client.py:38
Methodtest_connect_success
Test successful connection.
tests/test_dirty_client.py:50
Methodtest_connect_success
Test successful connection.
tests/ctl/test_client.py:47
Methodtest_connection_close_header
Connection: close header should be recognized.
tests/test_asgi_protocol_http.py:59
Methodtest_connection_close_header
Test Connection: close header.
tests/test_python_protocol.py:492
Functiontest_connection_close_waits_for_app
(http_parser)
tests/test_asgi_keepalive_background.py:181
Methodtest_connection_error_basic
(self)
tests/test_http2_errors.py:172
Methodtest_connection_header_case_insensitive
Connection header value should be case-insensitive.
tests/test_asgi_protocol_http.py:85
Methodtest_connection_keepalive
Test that connections are kept alive.
tests/docker/http2/test_http2_docker.py:348
Methodtest_connection_keepalive_header
Test Connection: keep-alive header.
tests/test_python_protocol.py:499
Methodtest_connection_keepalive_header_http10
Connection: keep-alive in HTTP/1.0 should be recognized.
tests/test_asgi_protocol_http.py:72
Methodtest_connection_lost_sets_closed
connection_lost should set closed state.
tests/test_asgi_error_handling.py:66
Methodtest_connection_lost_wakes_receive
(self)
tests/test_http2_h2c.py:1582
Methodtest_connection_lost_while_undecided_clears_state
(self)
tests/test_http2_h2c.py:659
Methodtest_connection_lost_with_exception
connection_lost handles exception argument gracefully.
tests/test_asgi_error_handling.py:77
Methodtest_connection_path_preserved
Test that connection path is preserved in scope.
tests/docker/asgi_compliance/test_websocket_compliance.py:50
Methodtest_connection_reuse_after_error
Test that connection is reused after error response.
tests/docker/http2/test_http2_docker.py:280
Methodtest_connection_tokens_are_matched_whole
(self)
tests/test_http2_h2c.py:2348
Methodtest_connection_tracking
Test that connection count is properly tracked.
tests/test_gthread.py:690
Methodtest_connection_with_query_string
Test connection with query string.
tests/docker/asgi_compliance/test_websocket_compliance.py:58
← previousnext →3,101–3,200 of 5,599, ranked by callers