MCPcopy Create free account

hub / github.com/benoitc/gunicorn / functions

Functions5,599 in github.com/benoitc/gunicorn

Methodtest_streaming_endpoint
Test basic streaming endpoint.
tests/docker/asgi_compliance/test_streaming_compliance.py:32
Methodtest_streaming_many_chunks
Test streaming with many chunks.
tests/dirty/test_worker_streaming.py:350
Methodtest_streaming_multiple_chunks
Test streaming returns multiple chunks.
tests/docker/asgi_compliance/test_streaming_compliance.py:38
Methodtest_streaming_order_preserved
Chunks arrive in correct order.
tests/docker/asgi_framework_compat/tests/test_streaming.py:33
Methodtest_streaming_response
(self, http2_client, gunicorn_ssl_url)
tests/docker/asgi_compliance/test_http2_asgi.py:467
Methodtest_streaming_response
Streaming endpoint returns chunked response.
tests/docker/asgi_framework_compat/tests/test_streaming.py:19
Methodtest_streaming_response
Test server-sent events style streaming.
examples/http2_gevent/test_http2_gevent.py:121
Methodtest_streaming_response_empty_final_chunk
Test streaming response with empty final chunk.
tests/test_asgi_streaming.py:109
Methodtest_streaming_response_more_body_true
Test streaming response with more_body=True.
tests/test_asgi_streaming.py:85
Methodtest_streaming_single_chunk
Test streaming with single chunk.
tests/docker/asgi_compliance/test_streaming_compliance.py:47
Methodtest_string_request_id_handled
Test that string request IDs are handled (hashed to int).
tests/test_dirty_protocol.py:554
Methodtest_subclass_can_set_workers
Subclass can override workers=2.
tests/test_dirty_app.py:202
Methodtest_subprotocol_in_scope
Subprotocols should be available in scope.
tests/test_asgi_websocket_enhanced.py:190
Methodtest_subprotocol_negotiation
WebSocket subprotocol negotiation works.
tests/docker/asgi_framework_compat/tests/test_websocket_scope.py:142
Methodtest_subprotocol_selection
First requested subprotocol is selected.
tests/docker/asgi_framework_compat/tests/test_websocket_scope.py:154
Functiontest_suppress_ragged_eofs
()
tests/test_ssl.py:42
Methodtest_sustained_load
Test sustained load over time.
tests/docker/asgi_compliance/test_concurrency.py:276
Functiontest_symlink_target_dir
(tmp_path)
tests/test_reload.py:167
Methodtest_sync_context_manager_connection_error
Test sync context manager with connection error.
tests/test_dirty_client.py:98
Methodtest_sync_external_data
Test external data sync.
examples/celery_alternative/tests/test_tasks.py:290
Methodtest_sync_generator_end_to_end
Test complete flow: sync generator -> worker -> arbiter -> client.
tests/dirty/test_streaming_integration.py:122
Methodtest_sync_generator_error_mid_stream
Test that error during streaming sends error message.
tests/dirty/test_worker_streaming.py:133
Methodtest_sync_generator_sends_chunks_and_end
Test that sync generator sends chunk messages then end message.
tests/dirty/test_worker_streaming.py:96
Methodtest_sync_task
Test data sync task.
examples/celery_alternative/tests/test_integration.py:336
Methodtest_sync_worker_boots_with_control_socket
Verify sync worker boots without deadlock when control socket is enabled.
tests/test_control_socket_integration.py:153
Methodtest_tab_before_colon_rejected
A tab before the colon must not be stripped into a valid name.
tests/test_asgi_parser_validation.py:512
Methodtest_tail_after_the_body
(self, parser)
tests/test_http2_h2c.py:1013
Methodtest_tconn_close
Test connection closing.
tests/test_gthread.py:117
Methodtest_tconn_close_is_safe
Test that closing a connection is safe.
tests/test_gthread.py:913
Methodtest_tconn_double_init_is_safe
Test that calling init() twice is safe (idempotent).
tests/test_gthread.py:899
Methodtest_tconn_init
Test TConn initialization.
tests/test_gthread.py:63
Methodtest_tconn_init_method_sets_blocking_true
Test that conn.init() sets socket back to blocking.
tests/test_gthread.py:91
Methodtest_tconn_init_sets_blocking_false
Test that TConn sets socket to non-blocking initially.
tests/test_gthread.py:80
Methodtest_tconn_set_timeout
Test timeout setting using monotonic clock.
tests/test_gthread.py:103
Methodtest_tconn_wait_for_data_returns_true_when_ready
Test wait_for_data returns True when data_ready is already set.
tests/test_gthread.py:1765
Methodtest_tconn_wait_for_data_sets_data_ready
Test wait_for_data sets data_ready flag when data arrives.
tests/test_gthread.py:1775
Methodtest_tconn_wait_for_data_timeout
Test wait_for_data returns False on timeout.
tests/test_gthread.py:1797
Methodtest_te_cl_conflict_rejected
Order doesn't matter - TE before CL also rejected.
tests/test_asgi_parser_validation.py:43
Methodtest_te_with_parameters_rejected
Transfer-Encoding with parameters (like identity;chunked=not) must be rejected.
tests/test_asgi_parser_validation.py:231
Methodtest_te_with_tab_prefix_valid_chunked
Tab before 'chunked' is stripped, value should be valid.
tests/test_asgi_parser_validation.py:244
Methodtest_text_message_encoding
Text messages should be UTF-8.
tests/test_asgi_websocket_enhanced.py:41
Methodtest_text_to_binary_conversion
Test text converted to binary in binary endpoint.
tests/docker/asgi_compliance/test_websocket_compliance.py:150
Methodtest_the_receive_loop_runs_while_a_drain_is_stalled
Bodies, resets and window updates keep flowing for other streams.
tests/test_http2_async_connection.py:1700
Methodtest_timeout_closes_worker_connection
_execute_on_worker drops the cached connection on timeout.
tests/test_dirty_arbiter.py:706
Methodtest_timeout_ctx_uses_keepalive
Test that timeout_ctx uses cfg.keepalive.
tests/workers/test_ggevent.py:202
Methodtest_timeout_during_streaming
Test that timeout during streaming sends error.
tests/dirty/test_arbiter_streaming.py:185
Methodtest_timeout_zero_means_no_deadline
(self)
tests/test_http2_connection.py:1873
Methodtest_timeout_zero_waits_for_credit
(self)
tests/test_http2_async_connection.py:1532
Methodtest_timeout_zero_waits_for_the_transport
(self)
tests/test_http2_async_connection.py:1775
Methodtest_timer_after_the_decision_does_nothing
(self)
tests/test_http2_h2c.py:981
Methodtest_tls_version
Verify TLS 1.2+ is used.
tests/docker/http2/test_http2_docker.py:252
Functiontest_to_bytestring
()
tests/test_util.py:108
Methodtest_too_many_colons_raises
mod:Class:2:extra' raises DirtyAppError.
tests/test_dirty_app.py:287
Methodtest_tornado_application_not_wrapped
Test that tornado.web.Application is not wrapped.
tests/test_gtornado.py:303
Methodtest_trailer_callback_empty_list
Test that empty trailer list is handled correctly.
tests/test_gthread.py:1731
Methodtest_trailer_callback_multiple_calls
Test that multiple calls to trailer callback accumulate trailers.
tests/test_gthread.py:1712
Methodtest_trailer_callback_stores_trailers
Test that the trailer callback stores trailers for later sending.
tests/test_gthread.py:1696
Methodtest_trailer_count
(self)
tests/test_asgi_parser_validation.py:603
Methodtest_trailer_line
(self)
tests/test_asgi_parser_validation.py:595
Functiontest_trailer_section_is_bounded
An endless trailer section is refused instead of read for ever.
tests/test_http.py:595
Methodtest_trailers_are_visible_after_the_body
(self)
tests/test_http2_connection.py:1492
Methodtest_trailers_follow_the_body_and_end_the_stream
(self)
tests/test_http2_h2c.py:1905
Methodtest_trailers_passed_to_end_stream
(self)
tests/test_http2_response.py:105
Methodtest_trailers_wake_reader
(self)
tests/test_http2_async_connection.py:1222
Methodtest_trailing_bytes_after_preface_still_match
(self)
tests/test_http2_h2c.py:270
Methodtest_transfer_encoding_chunked
Test Transfer-Encoding: chunked header.
tests/test_asgi_streaming.py:553
Methodtest_transfer_encoding_detection_logic_bytes
Test the header detection logic with bytes headers.
tests/test_asgi_protocol_compat.py:1148
Methodtest_transfer_encoding_detection_logic_mixed_case
Test detection handles various case variations.
tests/test_asgi_protocol_compat.py:1178
Methodtest_transfer_encoding_detection_logic_str
Test the header detection logic with string headers.
tests/test_asgi_protocol_compat.py:1163
Functiontest_transfer_encoding_non_http_whitespace_rejected
Only SP/HTAB are whitespace around Transfer-Encoding tokens.
tests/test_http.py:643
Methodtest_trickling_client_cannot_extend_the_budget
(self, monkeypatch)
tests/test_http2_h2c.py:330
Methodtest_truncated_key_size
Test error on truncated key size.
tests/test_uwsgi.py:248
Methodtest_trusted_peer_promotes_https
(self, parser_name)
tests/test_header_policy_parity.py:88
Methodtest_trusted_peer_serves_http1_when_disabled
(self)
tests/test_http2_h2c.py:455
Methodtest_trusted_peer_underscore_header_accepted
(self, parser_name)
tests/test_header_policy_parity.py:155
Functiontest_trusted_proxy_sets_scheme
(http_parser)
tests/test_asgi_scope.py:60
Methodtest_trusted_scheme_claim_honoured
(self)
tests/test_http2_request.py:803
Methodtest_ttin_increases_num_workers
SIGTTIN should increase num_workers by 1.
tests/dirty/test_arbiter_signals.py:36
Methodtest_ttin_increases_workers
TTIN should spawn additional dirty worker.
tests/docker/dirty_ttin_ttou/test_ttin_ttou_docker.py:133
Methodtest_ttin_logs_info
SIGTTIN should log info about the change.
tests/dirty/test_arbiter_signals.py:42
Functiontest_ttin_ttou_scaling_under_load
(stack)
tests/docker/stress/test_resilience.py:87
Methodtest_ttou_decreases_num_workers
SIGTTOU should decrease num_workers by 1.
tests/dirty/test_arbiter_signals.py:50
Methodtest_ttou_decreases_workers
TTOU should kill a dirty worker.
tests/docker/dirty_ttin_ttou/test_ttin_ttou_docker.py:159
Methodtest_ttou_logs_info
SIGTTOU should log info about the change.
tests/dirty/test_arbiter_signals.py:56
Methodtest_ttou_logs_warning_at_minimum
SIGTTOU should log warning when at minimum.
tests/dirty/test_arbiter_signals.py:71
Methodtest_ttou_respects_app_minimum
SIGTTOU should not go below app-required minimum.
tests/dirty/test_arbiter_signals.py:79
Methodtest_ttou_respects_minimum
TTOU should not go below app minimum (2 for LimitedTask).
tests/docker/dirty_ttin_ttou/test_ttin_ttou_docker.py:172
Methodtest_ttou_respects_minimum_one_worker
SIGTTOU should not go below 1 worker by default.
tests/dirty/test_arbiter_signals.py:65
Methodtest_ttou_with_unlimited_app
Apps with worker_count=None should not impose minimum.
tests/dirty/test_arbiter_signals.py:96
Methodtest_two_crlf_rejected
(self)
tests/test_asgi_parser_validation.py:630
Methodtest_two_settings_headers_are_ambiguous
(self)
tests/test_http2_h2c.py:699
Methodtest_type_key_present
Test 'type' key is present and equals 'http'.
tests/test_asgi_compliance.py:151
Functiontest_umask_config
(options, expected)
tests/test_config.py:527
Methodtest_unannounced_trailers_are_an_app_error
(self)
tests/test_http2_h2c.py:1937
Methodtest_undecided_until_the_preface_resolves
(self)
tests/test_http2_h2c.py:545
Functiontest_underscore_header_dropped
(http_parser)
tests/test_asgi_scope.py:68
Methodtest_underscore_header_dropped_for_untrusted_peer
(self)
tests/test_http2_request.py:774
Methodtest_underscore_header_kept_for_trusted_forwarder
(self)
tests/test_http2_request.py:778
Functiontest_underscore_header_refused
(http_parser)
tests/test_asgi_scope.py:77
Functiontest_unfinished_response_closes_connection
An app that returns before finishing its response must not leave the connection open for the next pipelined request: its response would be rea
tests/test_asgi_keepalive_smuggling.py:308
← previousnext →5,101–5,200 of 5,599, ranked by callers