MCPcopy Create free account

hub / github.com/benoitc/gunicorn / functions

Functions5,599 in github.com/benoitc/gunicorn

Methodtest_reload_with_no_workers
Test reload when no workers exist.
tests/test_dirty_arbiter.py:914
Methodtest_reopen
Test reopen command.
tests/ctl/test_handlers.py:371
Functiontest_repeated_close_is_idempotent
Extra close/lost callbacks must not drive the counter negative.
tests/test_asgi_nr_conns_shutdown.py:119
Methodtest_repeated_fork_cycles_do_not_leak_threads
A reload spawns workers back to back; no cycle may orphan a thread.
tests/ctl/test_server.py:194
Functiontest_repeated_headers_joined_in_order
Repeated fields become one comma-joined environ value, in order.
tests/test_http.py:748
Methodtest_repeated_sighup_does_not_leak_fds_or_threads
(self, app_module)
tests/test_control_socket_integration.py:418
Functiontest_replaces_stale_file_of_ours
(tmp_path)
tests/test_dirty_pidfile.py:21
Functiontest_repr
()
tests/test_config.py:549
Methodtest_repr
(self)
tests/test_http2_async_connection.py:528
Methodtest_repr
(self)
tests/test_http2_connection.py:570
Methodtest_repr_format
(self)
tests/test_http2_request.py:523
Methodtest_repr_format
(self)
tests/test_http2_stream.py:609
Methodtest_req
(sn, sz, mt)
tests/treq.py:275
Methodtest_req_number_is_stream_id
(self)
tests/test_http2_request.py:481
Functiontest_request_built_by_hand_reads_its_str_headers
()
tests/test_asgi_request_build.py:152
Methodtest_request_count_increments
Test request count increments across requests.
tests/docker/asgi_compliance/test_lifespan_compliance.py:101
Functiontest_request_hooks_still_called_every_request
(http_parser)
tests/test_asgi_config_cache.py:83
Methodtest_request_is_carried_over
(self)
tests/test_http2_h2c.py:2265
Methodtest_request_is_dispatched_before_the_body_arrives
(self)
tests/test_http2_async_connection.py:1104
Methodtest_request_is_dispatched_before_the_body_arrives
(self)
tests/test_http2_connection.py:1332
Methodtest_request_is_served
(self)
tests/test_http2_h2c.py:1036
Methodtest_request_is_served_then_connection_closes
(self)
tests/test_http2_h2c.py:1307
Methodtest_request_line
(self)
tests/test_asgi_parser_validation.py:571
Methodtest_request_line_and_field_limits_apply
(self)
tests/test_http2_connection.py:2194
Functiontest_request_line_limit_after_empty_line
limit_request_line measures the request line itself, also after the one empty line RFC 9112 2.2 allows before it, with both parsers.
tests/test_http.py:701
Methodtest_request_line_unlimited_is_bounded
(self)
tests/test_asgi_parser_validation.py:577
Methodtest_request_method
Test REQUEST_METHOD is set correctly.
tests/docker/uwsgi/test_uwsgi_integration.py:171
Methodtest_request_routing_respects_allocation
Requests only routed to workers with the target app.
tests/dirty/test_per_app_worker_allocation.py:127
Functiontest_request_target_accepts_percent_encoded_non_ascii
()
tests/test_http.py:779
Functiontest_request_target_rejects_non_ascii
RFC 9112 3.2 / RFC 3986 2: non-ASCII must be percent-encoded.
tests/test_http.py:767
Functiontest_request_target_rejects_raw_nul_but_allows_percent_encoded
Raw NUL in the request-target is 400; percent-encoded %00 is still a URI.
tests/test_http.py:624
Methodtest_request_time_conversion
_RequestTime should store time as seconds + microseconds.
tests/test_asgi_error_handling.py:333
Methodtest_request_time_creation
_RequestTime should track timing.
tests/test_asgi_error_handling.py:323
Methodtest_request_time_with_zero
_RequestTime with zero elapsed time.
tests/test_asgi_error_handling.py:343
Methodtest_request_with_multiple_headers_same_name
Test request with multiple headers of the same name.
tests/test_http2_integration.py:621
Methodtest_request_with_query_string
Test request with query string parameters.
tests/test_http2_integration.py:594
Functiontest_request_within_keepalive_window_is_served
(tmp_path)
tests/test_asgi_keepalive_timeout.py:103
Methodtest_requests_arriving_during_a_body_read_are_queued
(self)
tests/test_http2_connection.py:1457
Methodtest_reset_after_queueing_is_not_handed_out
(self)
tests/test_http2_connection.py:2069
Methodtest_reset_after_request
Parser can be reset for a new request.
tests/test_asgi_callback_parser.py:352
Methodtest_reset_before_dispatch_drops_the_stream
(self)
tests/test_http2_connection.py:2060
Methodtest_reset_clears_it
(self, parser)
tests/test_http2_h2c.py:1019
Methodtest_reset_clears_state
Test that reset clears all state.
tests/test_python_protocol.py:272
Methodtest_reset_custom_error_code
(self)
tests/test_http2_stream.py:389
Methodtest_reset_default_error_code
(self)
tests/test_http2_stream.py:378
Methodtest_reset_during_drain_is_not_an_app_error
Every send after the peer's reset stays inert, trailers included.
tests/test_http2_h2c.py:1766
Methodtest_reset_during_wait_marks_stream_and_keeps_other_events
(self)
tests/test_http2_connection.py:1830
Methodtest_reset_flood_gets_enhance_your_calm
(self)
tests/test_http2_connection.py:2095
Methodtest_reset_pairs_below_the_rate_limit_leave_nothing_behind
(self)
tests/test_http2_connection.py:2082
Functiontest_reset_peer_toxic_is_survived
(faults_stack)
tests/docker/stress/test_faults.py:41
Methodtest_reset_resolves_the_waiter
(self)
tests/test_http2_stream.py:910
Methodtest_reset_stream
(self)
tests/test_http2_async_connection.py:425
Methodtest_reset_stream
(self)
tests/test_http2_connection.py:418
Methodtest_reset_wakes_a_window_waiter
(self)
tests/test_http2_async_connection.py:1511
Methodtest_reset_wakes_reader_with_error
(self)
tests/test_http2_stream.py:876
Functiontest_reset_while_the_app_reads_is_quiet
(server, client)
tests/test_http2_live.py:240
Methodtest_resize_image
Test image resizing via API.
examples/celery_alternative/tests/test_integration.py:151
Methodtest_resize_image
Test image resizing.
examples/celery_alternative/tests/test_tasks.py:104
Methodtest_response_attributes
Test GeventResponse stores status, headers, and sent.
tests/workers/test_ggevent.py:189
Functiontest_response_body_capped_at_content_length
Bytes past the app's Content-Length must not reach the wire, where a proxy reusing the connection would read them as the next response.
tests/test_asgi_keepalive_smuggling.py:273
Methodtest_response_body_message_format
http.response.body format validation.
tests/test_asgi_error_handling.py:371
Functiontest_response_bytes_unchanged
(http_parser, index)
tests/test_asgi_response_wire.py:168
Methodtest_response_headers
(self)
tests/test_http2_async_connection.py:1388
Methodtest_response_headers
Test that response headers are correctly received.
tests/docker/http2/test_http2_docker.py:298
Methodtest_response_info_initial
Test initial ASGIResponseInfo values.
tests/test_asgi_error_handling.py:95
Methodtest_response_info_with_headers
Test ASGIResponseInfo with headers.
tests/test_asgi_error_handling.py:105
Methodtest_response_start_announces_connection_close
RFC 9112: a server that will close the connection must say so.
tests/test_asgi_worker.py:593
Methodtest_response_start_keeps_app_connection_header
An app-supplied Connection header is not duplicated.
tests/test_asgi_worker.py:612
Functiontest_response_start_rejects_invalid_headers
(headers)
tests/test_asgi_response_headers.py:101
Methodtest_response_start_requires_status
http.response.start must have status.
tests/test_asgi_error_handling.py:360
Functiontest_response_start_valid_headers_pass
()
tests/test_asgi_response_headers.py:119
Methodtest_response_start_without_content_length
Test response start without Content-Length triggers chunked encoding.
tests/test_asgi_streaming.py:120
Methodtest_response_trailers_default_none
Test that response_trailers defaults to None.
tests/test_http2_stream.py:783
Functiontest_response_without_content_length_is_not_http_chunked
uWSGI sends raw body bytes and closes to delimit an unknown length.
tests/test_asgi_uwsgi.py:80
Methodtest_response_without_content_length_is_not_http_chunked
(self)
tests/test_uwsgi.py:370
Methodtest_returns_alpn_protocol
(self)
tests/test_http2_alpn.py:79
Methodtest_returns_at_once_when_already_disconnected
(self)
tests/test_http2_stream.py:921
Methodtest_returns_false_for_http11
(self)
tests/test_http2_alpn.py:122
Methodtest_returns_false_for_non_ssl
(self)
tests/test_http2_alpn.py:132
Methodtest_returns_false_for_none
(self)
tests/test_http2_alpn.py:127
Methodtest_returns_http11
(self)
tests/test_http2_alpn.py:84
Methodtest_returns_none_for_non_ssl_socket
(self)
tests/test_http2_alpn.py:94
Methodtest_returns_none_when_not_negotiated
(self)
tests/test_http2_alpn.py:89
Methodtest_returns_true_for_h2
(self)
tests/test_http2_alpn.py:117
Methodtest_root_endpoint
Test root endpoint.
tests/docker/asgi_compliance/test_lifespan_compliance.py:152
Methodtest_root_endpoint
Test root endpoint returns expected response.
tests/docker/asgi_compliance/test_http_compliance.py:30
Methodtest_root_endpoint
Test basic GET request returns HTTP/2.
examples/http2_gevent/test_http2_gevent.py:64
Methodtest_root_path_configuration
Test root_path from configuration.
tests/test_asgi_http_scope.py:77
Methodtest_root_path_default
Test default root_path value.
tests/test_asgi_worker.py:794
Methodtest_root_path_default_empty
Test root_path defaults to empty string.
tests/test_asgi_http_scope.py:86
Methodtest_root_path_key_present
Test 'root_path' key is present.
tests/test_asgi_compliance.py:258
Methodtest_root_path_only
Test root path only.
tests/test_asgi_http_scope.py:157
Methodtest_root_path_setting
Test root_path configuration.
tests/test_asgi_worker.py:799
Methodtest_roundtrip
Test encode/decode roundtrip.
tests/ctl/test_protocol.py:70
Methodtest_route_request_app_not_loaded_error
Error response when no worker has the app.
tests/test_dirty_arbiter.py:1514
Methodtest_route_request_no_workers
Test routing request when no workers available.
tests/test_dirty_arbiter.py:303
Methodtest_route_request_no_workers
Test route_request when no workers available.
tests/dirty/test_arbiter_streaming.py:213
Methodtest_route_request_starts_consumer
Test that route_request starts consumer if needed.
tests/dirty/test_arbiter_streaming.py:227
Methodtest_route_request_starts_consumer_on_demand
Test route_request starts consumer if not exists.
tests/test_dirty_arbiter.py:1196
Methodtest_route_request_timeout
Test that route_request handles timeout correctly.
tests/test_dirty_arbiter.py:588
← previousnext →4,601–4,700 of 5,599, ranked by callers