MCPcopy Create free account

hub / github.com/benoitc/gunicorn / functions

Functions5,599 in github.com/benoitc/gunicorn

Methodtest_flow_control_error
(self)
tests/test_http2_errors.py:47
Functiontest_forbidden_ip
Test forbidden IP raises error.
tests/test_asgi_uwsgi.py:449
Methodtest_forbidden_ip
Test error when source IP not in allow list.
tests/test_uwsgi.py:258
Methodtest_forbidden_trailers_are_dropped
(self)
tests/test_http2_connection.py:2218
Methodtest_forbidden_uwsgi_request_str
(self)
tests/test_uwsgi.py:409
Methodtest_force_close
(self)
tests/test_http2_request.py:404
Methodtest_force_close
Test force_close method.
tests/test_uwsgi.py:331
Methodtest_forwarded_header_in_scope
Forwarded header should be passed through.
tests/test_asgi_forwarded_headers.py:275
Methodtest_forwarded_header_multiple_proxies
Forwarded header with multiple proxies.
tests/test_asgi_forwarded_headers.py:290
Methodtest_forwarded_headers
Test that proxy adds forwarded headers.
tests/docker/http2/test_http2_docker.py:185
Functiontest_forwarded_trust_holds_for_every_request
Decided once per connection, applied to each of its requests.
tests/test_asgi_config_cache.py:101
Methodtest_forwards_chunk_messages
Test that arbiter forwards chunk messages to client.
tests/dirty/test_arbiter_streaming.py:112
Methodtest_forwards_error_mid_stream
Test that arbiter forwards error during streaming.
tests/dirty/test_arbiter_streaming.py:162
Methodtest_forwards_many_chunks
Test that arbiter forwards many chunks correctly.
tests/dirty/test_arbiter_streaming.py:258
Methodtest_forwards_regular_response
Test that arbiter forwards regular response to client.
tests/dirty/test_arbiter_streaming.py:141
Methodtest_four_dirty_workers_running
Should have 4 dirty workers as configured.
tests/docker/per_app_allocation/test_per_app_e2e.py:297
Methodtest_fragment_state_initial
Test initial fragment reassembly state.
tests/test_asgi_websocket_protocol.py:315
Methodtest_fragmented_endpoint
Test fragmented message info endpoint.
tests/docker/asgi_compliance/test_websocket_compliance.py:484
Functiontest_fragmented_message_over_limit_closes_1009
()
tests/test_asgi_websocket_enhanced.py:622
Methodtest_fragmented_message_reassembly
Test reassembly of fragmented text message with multiple continuation frames.
tests/test_asgi_websocket_protocol.py:970
Functiontest_fragmented_text_with_control_frame_between_is_delivered
A ping between fragments is allowed (5.4); the message arrives whole.
tests/test_asgi_websocket_enhanced.py:730
Methodtest_frame_header_fin_bit
FIN bit should be set for complete messages.
tests/test_asgi_websocket_enhanced.py:366
Methodtest_frame_header_mask_bit
Server frames should NOT have MASK bit set.
tests/test_asgi_websocket_enhanced.py:373
Methodtest_frame_header_structure
Test understanding of WebSocket frame header structure.
tests/test_asgi_websocket_protocol.py:239
Functiontest_frame_larger_than_read_buffer_is_read
Pausing the socket must not stop a frame bigger than the pause threshold from being read.
tests/test_asgi_websocket_enhanced.py:649
Methodtest_frame_length_encoding_large
Large payloads (> 65535) use 64-bit length.
tests/test_asgi_websocket_enhanced.py:398
Methodtest_frame_length_encoding_medium
Medium payloads (126-65535) use 16-bit length.
tests/test_asgi_websocket_enhanced.py:387
Methodtest_frame_length_encoding_small
Small payloads (< 126) use 7-bit length.
tests/test_asgi_websocket_enhanced.py:381
Functiontest_frame_over_limit_closes_1009_before_reading
A frame declaring 1 TiB is refused from its header alone.
tests/test_asgi_websocket_enhanced.py:612
Methodtest_frame_size_error
(self)
tests/test_http2_errors.py:59
Methodtest_frames_for_a_stream_we_dropped_are_ignored
(self)
tests/test_http2_async_connection.py:1263
Methodtest_frames_for_a_stream_we_dropped_are_ignored
h2 still tracks the stream; gunicorn no longer does.
tests/test_http2_connection.py:1751
Methodtest_framework_health
Test framework health endpoint.
tests/docker/asgi_compliance/test_framework_integration.py:39
Methodtest_framework_independence
Test frameworks work independently.
tests/docker/asgi_compliance/test_framework_integration.py:351
Methodtest_framework_root_endpoint
Test framework root returns available frameworks.
tests/docker/asgi_compliance/test_framework_integration.py:30
Methodtest_from_parser_body_info
Test body info extraction.
tests/test_python_protocol.py:407
Methodtest_from_parser_chunked
Test chunked transfer detection.
tests/test_python_protocol.py:422
Methodtest_from_parser_headers
Test header conversion.
tests/test_python_protocol.py:387
Methodtest_from_parser_simple
Test creating request from parser state.
tests/test_python_protocol.py:364
Methodtest_from_parser_ssl
Test SSL scheme detection.
tests/test_python_protocol.py:378
Methodtest_full_preface_commits_to_http2
(self)
tests/test_http2_h2c.py:561
Methodtest_full_request_response_flow
Test full request-response flow between arbiter and worker.
tests/test_dirty_integration.py:285
Methodtest_full_response
(self)
tests/test_http2_async_connection.py:1393
Methodtest_generate_daily_report
Test daily report generation.
examples/celery_alternative/tests/test_tasks.py:279
Methodtest_generate_thumbnail
Test thumbnail generation via API.
examples/celery_alternative/tests/test_integration.py:167
Methodtest_generate_thumbnail
Test thumbnail generation.
examples/celery_alternative/tests/test_tasks.py:115
Methodtest_get_200_has_body
(self)
tests/test_asgi_streaming.py:374
Methodtest_get_apps_for_new_worker_all_standard
All apps returned when all have workers=None.
tests/test_dirty_arbiter.py:1309
Methodtest_get_apps_for_new_worker_respects_limit
App with workers=2 stops assigning after 2 workers.
tests/test_dirty_arbiter.py:1327
Methodtest_get_available_worker_app_no_workers_returns_none
Returns None if no workers have the app.
tests/test_dirty_arbiter.py:1498
Methodtest_get_available_worker_no_filter
Without app_path, returns any worker round-robin.
tests/test_dirty_arbiter.py:1455
Methodtest_get_available_worker_returns_first
Test _get_available_worker returns first worker.
tests/test_dirty_arbiter.py:622
Methodtest_get_available_worker_with_app_filter
With app_path, returns only workers that have it.
tests/test_dirty_arbiter.py:1477
Methodtest_get_body_after_data
(self)
tests/test_http2_stream.py:474
Methodtest_get_dirty_client_different_threads
Test that different threads get different clients.
tests/test_dirty_client.py:183
Methodtest_get_dirty_client_thread_local
Test that get_dirty_client returns thread-local client.
tests/test_dirty_client.py:161
Methodtest_get_dirty_pidfile_path
Verify pidfile path is generated correctly.
tests/test_arbiter.py:841
Methodtest_get_dirty_pidfile_path_sanitizes_name
Verify special characters in proc_name are sanitized.
tests/test_arbiter.py:852
Methodtest_get_dirty_pidfile_path_uses_proc_name_not_cfg
Verify pidfile path uses self.proc_name for USR2 compatibility. During USR2, self.proc_name becomes 'myapp.2' while self.cfg.proc_name
tests/test_arbiter.py:863
Methodtest_get_empty_body
(self)
tests/test_http2_stream.py:469
Methodtest_get_header
Test get_header method.
tests/test_python_protocol.py:456
Methodtest_get_header_case_insensitive
(self)
tests/test_http2_request.py:291
Methodtest_get_header_not_found
(self)
tests/test_http2_request.py:306
Functiontest_get_is_served
(server)
tests/test_asgi_uwsgi_protocol.py:112
Methodtest_get_method
GET method should be parsed.
tests/test_asgi_protocol_http.py:362
Methodtest_get_method
Test GET method.
tests/docker/asgi_compliance/test_http_compliance.py:57
Methodtest_get_request_text_response
Test a complete GET request with text response.
tests/test_http2_integration.py:87
Methodtest_get_root
Test basic GET request to root endpoint.
tests/docker/uwsgi/test_uwsgi_integration.py:25
Methodtest_get_socket_path_from_env
Test getting socket path from environment.
tests/test_dirty_client.py:131
Methodtest_get_socket_path_not_configured
Test error when socket path not configured.
tests/test_dirty_client.py:146
Functiontest_get_username_from_basic_auth_header
(auth)
tests/test_logger.py:64
Functiontest_get_username_handles_malformed_basic_auth_header
Should catch a malformed auth header
tests/test_logger.py:81
Methodtest_get_with_query_string
Test parsing GET with query string.
tests/test_python_protocol.py:38
Methodtest_get_with_query_string
Test GET request with query string parameters.
tests/docker/uwsgi/test_uwsgi_integration.py:31
Methodtest_get_worker_connection_cached
Test that _get_worker_connection returns cached connection.
tests/test_dirty_arbiter.py:647
Methodtest_get_worker_connection_no_socket
Test _get_worker_connection fails when no socket path.
tests/test_dirty_arbiter.py:668
Methodtest_get_worker_connection_socket_not_ready
Test _get_worker_connection when socket file doesn't exist.
tests/test_dirty_arbiter.py:685
Methodtest_get_workers_from_class_attribute
App with workers=2 class attribute returns 2.
tests/test_dirty_app.py:310
Methodtest_get_workers_invalid_format
Invalid format raises DirtyAppError.
tests/test_dirty_app.py:340
Methodtest_get_workers_none_for_base_class
Base DirtyApp returns workers=None.
tests/test_dirty_app.py:303
Methodtest_get_workers_none_for_inherited
App without explicit workers attribute returns None.
tests/test_dirty_app.py:317
Methodtest_get_workers_not_found_class
Non-existent class raises DirtyAppNotFoundError.
tests/test_dirty_app.py:332
Methodtest_get_workers_not_found_module
Non-existent module raises DirtyAppNotFoundError.
tests/test_dirty_app.py:324
Methodtest_getsourcelines_indexing
Verify that Spew correctly indexes inspect.getsourcelines() result. Regression test for https://github.com/benoitc/gunicorn/issues/3344
tests/test_debug.py:18
Methodtest_gevent
(self)
tests/test_http2_h2c.py:796
Methodtest_gevent_config_file_patching_scenario
Test the exact scenario from the bug report gist. This reproduces the test case from: https://gist.github.com/markjm/9f724364619c5198
tests/workers/test_gevent_import_order.py:274
Methodtest_gevent_handle_calls_super
Test that GeventWorker.handle() calls super().handle().
tests/test_http2_alpn.py:345
Methodtest_gevent_ignores_a_plain_request
(self)
tests/test_http2_h2c.py:788
Methodtest_gevent_inherits_async_worker
Test that GeventWorker inherits from AsyncWorker.
tests/test_http2_alpn.py:333
Methodtest_gevent_patch_after_concurrent_futures_import_leaves_unpatched_lock
Test that patching after concurrent.futures import leaves locks unpatched. This reproduces the issue from the gist where the _global_shutdown
tests/workers/test_gevent_import_order.py:86
Methodtest_gevent_patch_before_concurrent_futures_import_patches_lock
Test that patching BEFORE concurrent.futures import works correctly. This shows the correct behavior: when monkey.patch_all() is called
tests/workers/test_gevent_import_order.py:151
Methodtest_gevent_worker_boots_with_control_socket
Verify gevent worker boots without deadlock when control socket is enabled. This test is critical for issue #3509 - the gevent worker uses mo
tests/test_control_socket_integration.py:235
Methodtest_gevent_worker_handles_multiple_requests
Verify gevent worker handles multiple requests with control socket enabled.
tests/test_control_socket_integration.py:271
Methodtest_gevent_worker_header
Test that gevent worker header is present.
examples/http2_gevent/test_http2_gevent.py:148
Methodtest_goaway_followed_by_data_in_one_read
(self)
tests/test_http2_async_connection.py:1411
Methodtest_goaway_followed_by_data_in_one_read
The rest of the client's write lands after its GOAWAY.
tests/test_http2_connection.py:1612
Functiontest_goaway_followed_by_data_in_one_write
(server, client)
tests/test_http2_live.py:227
Methodtest_goaway_with_error_closes_at_once
(self)
tests/test_http2_connection.py:1663
Methodtest_goaway_with_error_during_wait_returns_minus_one
(self)
tests/test_http2_connection.py:1856
Methodtest_goaway_with_nothing_in_flight_closes
(self)
tests/test_http2_connection.py:1671
← previousnext →3,601–3,700 of 5,599, ranked by callers