MCPcopy Create free account

hub / github.com/benoitc/gunicorn / functions

Functions5,599 in github.com/benoitc/gunicorn

Methodtest_cancel
(self)
tests/test_http2_errors.py:67
Methodtest_cancel_keepalive_timer_handles_none
Cancelling non-existent timer should be safe.
tests/test_asgi_error_handling.py:307
Methodtest_cancel_task_if_pending_cancels_running_task
Test that _cancel_task_if_pending cancels a running task.
tests/test_asgi_disconnect.py:169
Methodtest_cancel_task_if_pending_skips_completed_task
Test that _cancel_task_if_pending doesn't cancel completed tasks.
tests/test_asgi_disconnect.py:182
Methodtest_cannot_receive_in_closed
(self)
tests/test_http2_stream.py:123
Methodtest_cannot_receive_in_half_closed_remote
(self)
tests/test_http2_stream.py:117
Methodtest_cannot_receive_in_idle
(self)
tests/test_http2_stream.py:111
Methodtest_cannot_send_in_closed
(self)
tests/test_http2_stream.py:157
Methodtest_cannot_send_in_half_closed_local
(self)
tests/test_http2_stream.py:151
Methodtest_cannot_send_in_idle
(self)
tests/test_http2_stream.py:145
Methodtest_case_insensitive
(self)
tests/test_http2_h2c.py:686
Methodtest_case_insensitive
(self)
tests/test_http2_config.py:46
Functiontest_certfile
()
tests/test_ssl.py:25
Methodtest_check_trusted_proxy_function_exists
_check_trusted_proxy function should exist.
tests/test_asgi_forwarded_headers.py:313
Methodtest_chunk_and_end_roundtrip
Test that chunk and end messages can be encoded/decoded.
tests/test_dirty_protocol.py:449
Methodtest_chunk_extension_accepted
Chunk extensions after semicolon should be accepted.
tests/test_asgi_parser_validation.py:392
Methodtest_chunk_extension_bare_cr_rejected
Chunk extensions with bare CR should be rejected per RFC 9112.
tests/test_asgi_callback_parser.py:568
Methodtest_chunk_extension_with_quoted_string
Chunk extensions with quoted values should be accepted.
tests/test_asgi_callback_parser.py:546
Methodtest_chunk_size_encoding
Test chunk size encoding for various sizes.
tests/test_asgi_streaming.py:514
Methodtest_chunk_size_line
(self)
tests/test_asgi_parser_validation.py:587
Functiontest_chunk_size_line_is_bounded
An endless chunk-size line is refused instead of read for ever.
tests/test_http.py:586
Methodtest_chunk_size_with_leading_space_rejected
Leading space in chunk size must be rejected.
tests/test_asgi_parser_validation.py:299
Methodtest_chunk_size_with_tab_rejected
Tab in chunk size must be rejected.
tests/test_asgi_parser_validation.py:327
Methodtest_chunk_size_with_trailing_space_rejected
Trailing space in chunk size must be rejected.
tests/test_asgi_parser_validation.py:313
Methodtest_chunk_size_with_underscore_rejected
Underscore in chunk size must be rejected.
tests/test_asgi_parser_validation.py:341
Methodtest_chunked_body
Test chunked transfer encoding.
tests/test_python_protocol.py:116
Functiontest_chunked_body_content_and_pipelined_request
(chunks)
tests/test_http.py:829
Methodtest_chunked_body_encoding_with_framework_te
Body chunks should still be properly encoded when framework sets TE.
tests/test_asgi_protocol_compat.py:1079
Functiontest_chunked_body_reads_follow_chunk_size
Chunk data is read in steps as large as the chunk (#2596), never past the end of the chunk.
tests/test_http.py:808
Methodtest_chunked_encoding
Parse chunked transfer-encoded body.
tests/test_asgi_callback_parser.py:224
Methodtest_chunked_encoding_empty_body
Empty chunked body (just terminator) should work.
tests/test_asgi_protocol_http.py:249
Methodtest_chunked_encoding_empty_chunk
Test encoding empty body chunk.
tests/test_asgi_streaming.py:49
Methodtest_chunked_encoding_format
Test chunked encoding format: size in hex + CRLF + data + CRLF.
tests/test_asgi_streaming.py:26
Methodtest_chunked_encoding_header
Test response uses chunked transfer encoding.
tests/docker/asgi_compliance/test_streaming_compliance.py:292
Methodtest_chunked_encoding_large_chunk
Test chunked encoding with larger data.
tests/test_asgi_streaming.py:33
Methodtest_chunked_encoding_multiple_chunks
Multiple chunks should be concatenated.
tests/test_asgi_protocol_http.py:226
Methodtest_chunked_encoding_multiple_chunks
Test multiple chunks in sequence.
tests/test_asgi_streaming.py:56
Methodtest_chunked_encoding_single_chunk
Single chunk with terminator should work.
tests/test_asgi_protocol_http.py:204
Methodtest_chunked_encoding_terminal_chunk
Test terminal chunk (zero-length).
tests/test_asgi_streaming.py:42
Methodtest_chunked_encoding_with_trailer
Chunked encoding with trailer headers.
tests/test_asgi_protocol_http.py:269
Methodtest_chunked_hex_sizes
Chunk sizes should be parsed as hex.
tests/test_asgi_protocol_http.py:292
Methodtest_chunked_http10_rejected
Chunked Transfer-Encoding in HTTP/1.0 must be rejected.
tests/test_asgi_parser_validation.py:153
Functiontest_chunked_message_split_across_reads
Terminators straddling two reads are found, and long lines still parse. Delivered a byte at a time, so every chunk-size line, chunk terminator
tests/test_http.py:604
Methodtest_chunked_payload_is_decoded
(self, parser)
tests/test_http2_h2c.py:895
Methodtest_chunked_payload_reaches_the_application
(self, parser)
tests/test_http2_h2c.py:2249
Methodtest_chunked_then_gzip_rejected
Compression after chunked must be rejected.
tests/test_asgi_parser_validation.py:207
Methodtest_chunked_then_identity_rejected
Identity after chunked must be rejected.
tests/test_asgi_parser_validation.py:195
Methodtest_chunked_uppercase_hex
Uppercase hex chunk sizes should work.
tests/test_asgi_protocol_http.py:313
Methodtest_chunked_with_extension
Test chunked with chunk extension.
tests/test_python_protocol.py:139
Methodtest_chunked_with_extensions
Parse chunked body with chunk extensions.
tests/test_asgi_callback_parser.py:249
Methodtest_chunks_are_read_as_they_arrive_and_credited_back
(self)
tests/test_http2_async_connection.py:1110
Functiontest_ciphers
()
tests/test_ssl.py:60
Methodtest_cl_te_conflict_rejected
Request with both Content-Length and Transfer-Encoding must be rejected.
tests/test_asgi_parser_validation.py:30
Methodtest_cl_with_spaces_rejected
Content-Length with embedded spaces must be rejected.
tests/test_asgi_parser_validation.py:137
Methodtest_class_attribute_workers_detected
App with workers=2 class attribute is detected by arbiter.
tests/dirty/test_per_app_worker_allocation.py:275
Methodtest_cleanup_closes_all_apps
Test that cleanup closes all loaded apps.
tests/dirty/test_multi_app_routing.py:553
Methodtest_cleanup_closes_apps
Test that cleanup closes all apps.
tests/test_dirty_worker.py:342
Methodtest_cleanup_handles_app_close_error
Test that cleanup handles errors when closing apps.
tests/test_dirty_worker.py:850
Methodtest_cleanup_handles_missing_pidfile
Test that cleanup handles non-existent pidfile gracefully.
tests/test_dirty_arbiter.py:217
Methodtest_cleanup_handles_missing_socket
Test that cleanup handles non-existent socket file.
tests/test_dirty_worker.py:880
Methodtest_cleanup_handles_tmp_close_error
Test that cleanup handles tmp.close() errors.
tests/test_dirty_worker.py:899
Methodtest_cleanup_nonexistent_stream
(self)
tests/test_http2_connection.py:518
Methodtest_cleanup_of_a_never_started_response_resets
(self)
tests/test_http2_connection.py:1945
Methodtest_cleanup_old_files
Test file cleanup task.
examples/celery_alternative/tests/test_tasks.py:268
Methodtest_cleanup_orphaned_ignores_untrusted_pidfile
A pidfile this user did not create must never make gunicorn signal a process: the file lives in the shared temporary directory.
tests/test_arbiter.py:953
Methodtest_cleanup_orphaned_kills_existing_process
Verify cleanup kills orphaned dirty arbiter process.
tests/test_arbiter.py:911
Methodtest_cleanup_orphaned_no_pidfile
Verify cleanup handles missing pidfile gracefully.
tests/test_arbiter.py:892
Methodtest_cleanup_orphaned_sigkill_if_sigterm_fails
Verify cleanup sends SIGKILL if SIGTERM doesn't work.
tests/test_arbiter.py:927
Methodtest_cleanup_orphaned_skipped_during_usr2
Verify cleanup is skipped during USR2 upgrade (master_pid != 0).
tests/test_arbiter.py:881
Methodtest_cleanup_orphaned_stale_pidfile_no_process
A stale pidfile whose process is gone is removed, nothing signalled.
tests/test_arbiter.py:940
Methodtest_cleanup_removes_pidfile
Test that cleanup removes the PID file.
tests/test_dirty_arbiter.py:198
Methodtest_cleanup_removes_socket
Test that cleanup removes the socket file.
tests/test_dirty_worker.py:365
Methodtest_cleanup_removes_socket
Test that cleanup removes the socket file.
tests/test_dirty_arbiter.py:165
Methodtest_cleanup_removes_tmpdir
Test that cleanup removes the temp directory.
tests/test_dirty_arbiter.py:184
Methodtest_cleanup_stream
(self)
tests/test_http2_async_connection.py:497
Methodtest_cleanup_stream
(self)
tests/test_http2_connection.py:492
Methodtest_cleanup_survives_reset_and_write_failures
(self)
tests/test_http2_async_connection.py:1251
Methodtest_cleanup_survives_reset_and_write_failures
(self)
tests/test_http2_connection.py:1735
Methodtest_cleanup_task
Test cleanup task execution.
examples/celery_alternative/tests/test_integration.py:315
Methodtest_cleanup_without_pidfile
Test that cleanup works when no pidfile configured.
tests/test_dirty_arbiter.py:232
Methodtest_cleanup_worker
Test worker cleanup method.
tests/test_dirty_arbiter.py:332
Methodtest_cleanup_worker_cancels_consumer
Test that worker cleanup cancels consumer task and removes queue.
tests/test_dirty_arbiter.py:353
Methodtest_cleanup_worker_queues_apps_for_respawn
Dead worker's apps added to _pending_respawns.
tests/test_dirty_arbiter.py:1403
Methodtest_cleanup_write_failure_is_swallowed
(self)
tests/test_http2_connection.py:1762
Functiontest_cli_overrides_config
()
tests/test_config.py:332
Functiontest_cli_overrides_config_module
()
tests/test_config.py:339
Functiontest_cli_overrides_enviroment_variables_module
(monkeypatch)
tests/test_config.py:471
Methodtest_client_close
Server handles client-initiated close.
tests/docker/asgi_framework_compat/tests/test_websocket_scope.py:185
Functiontest_client_close_delivers_disconnect
When the client closes, the app's next receive() returns websocket.disconnect with the client's code instead of waiting.
tests/test_asgi_websocket_enhanced.py:519
Functiontest_client_connection_close_is_announced
(tmp_path)
tests/test_asgi_connection_close.py:79
Methodtest_client_initiated_close
Test handling client-initiated connection close.
tests/test_http2_integration.py:435
Functiontest_client_initiated_close_decrements_nr_conns
The already-working direction must keep working (no double decrement).
tests/test_asgi_nr_conns_shutdown.py:93
Methodtest_client_key_none
Test 'client' key is None when peername not provided.
tests/test_asgi_compliance.py:346
Methodtest_client_key_present
Test 'client' key is present when peername provided.
tests/test_asgi_compliance.py:332
Methodtest_close
(self)
tests/test_http2_request.py:105
Methodtest_close_abnormal
Test abnormal closure code (1006).
tests/test_asgi_websocket_protocol.py:97
Methodtest_close_async_idempotent
Test that close_async can be called multiple times.
tests/test_dirty_client.py:88
Methodtest_close_clears_socket
Test that close clears the socket.
tests/ctl/test_client.py:96
Methodtest_close_code_1000_in_frame
Verify close code 1000 (normal) is in close frame.
tests/test_asgi_protocol_compat.py:337
Methodtest_close_code_1001_going_away
Test close with code 1001 (going away).
tests/test_asgi_protocol_compat.py:352
← previousnext →3,001–3,100 of 5,599, ranked by callers