Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/benoitc/gunicorn
/ functions
Functions
5,599 in github.com/benoitc/gunicorn
⨍
Functions
5,599
◇
Types & classes
1,147
↳
Endpoints
142
Method
test_reader_resumes_after_a_pause
(self)
tests/test_http2_h2c.py:1607
Method
test_readline_across_frames
(self)
tests/test_http2_connection.py:1503
Method
test_readline_all_lines
(self)
tests/test_http2_request.py:142
Method
test_readline_basic
(self)
tests/test_http2_request.py:61
Function
test_readline_buffer_loaded
()
tests/test_http.py:66
Function
test_readline_buffer_loaded_with_size
()
tests/test_http.py:77
Method
test_readline_crlf
(self)
tests/test_http2_request.py:80
Method
test_readline_empty
(self)
tests/test_http2_request.py:76
Function
test_readline_empty_body
()
tests/test_http.py:35
Function
test_readline_new_line_after_size
()
tests/test_http.py:51
Function
test_readline_new_line_before_size
()
tests/test_http.py:45
Function
test_readline_no_new_line
()
tests/test_http.py:57
Method
test_readline_no_newline
(self)
tests/test_http2_request.py:72
Method
test_readline_size_caps_a_found_line
(self)
tests/test_http2_request.py:861
Method
test_readline_size_reached_without_newline
(self)
tests/test_http2_request.py:895
Method
test_readline_with_size
(self)
tests/test_http2_request.py:67
Method
test_readline_with_size
(self)
tests/test_http2_request.py:852
Function
test_readline_zero_size
()
tests/test_http.py:40
Method
test_readlines_basic
(self)
tests/test_http2_request.py:85
Method
test_readlines_empty
(self)
tests/test_http2_request.py:96
Method
test_readlines_hint
(self)
tests/test_http2_request.py:867
Method
test_readlines_with_hint
(self)
tests/test_http2_request.py:90
Method
test_reap_app_load_error
Verify that APP_LOAD_ERROR causes HaltServer.
tests/test_arbiter.py:470
Method
test_reap_dirty_arbiter_is_reported_as_itself
The dirty arbiter is not a worker and not an unknown child.
tests/test_arbiter.py:591
Method
test_reap_exit_with_error_code
Verify that a worker exiting with non-zero code is logged.
tests/test_arbiter.py:437
Method
test_reap_killed_by_sigkill_oom_hint
Verify that SIGKILL adds OOM hint to log message.
tests/test_arbiter.py:504
Method
test_reap_killed_by_signal
Verify that a worker killed by signal is properly identified.
tests/test_arbiter.py:486
Method
test_reap_mixed_worker_and_unknown_child
A real worker is still reported when an orphan is reaped first.
tests/test_arbiter.py:567
Method
test_reap_normal_exit
Verify that a worker with normal exit (code 0) is properly reaped.
tests/test_arbiter.py:421
Method
test_reap_unknown_child_boot_error_does_not_halt
An orphan exiting with WORKER_BOOT_ERROR must not stop the server.
tests/test_arbiter.py:555
Method
test_reap_unknown_child_is_not_reported_as_worker
An orphan reparented onto gunicorn is not a worker exit.
tests/test_arbiter.py:522
Method
test_reap_unknown_child_killed_by_signal
An orphan killed by SIGKILL does not get the OOM hint.
tests/test_arbiter.py:541
Method
test_reap_worker_boot_error
Verify that WORKER_BOOT_ERROR causes HaltServer.
tests/test_arbiter.py:454
Method
test_reap_workers_no_children
Test reap_workers when no children have exited.
tests/test_dirty_arbiter.py:388
Method
test_reason_phrase_100
Test that 100 Continue has correct reason phrase.
tests/test_early_hints.py:451
Method
test_reason_phrase_101
Test that 101 Switching Protocols has correct reason phrase.
tests/test_early_hints.py:463
Method
test_reason_phrase_103
Test that 103 has correct reason phrase.
tests/test_early_hints.py:439
Method
test_reason_phrase_client_error
Test reason phrases for 4xx status codes.
tests/test_asgi_compliance.py:487
Method
test_reason_phrase_informational
Test reason phrases for 1xx status codes.
tests/test_asgi_compliance.py:458
Method
test_reason_phrase_redirect
Test reason phrases for 3xx status codes.
tests/test_asgi_compliance.py:476
Method
test_reason_phrase_server_error
Test reason phrases for 5xx status codes.
tests/test_asgi_compliance.py:502
Method
test_reason_phrase_success
Test reason phrases for 2xx status codes.
tests/test_asgi_compliance.py:466
Method
test_reason_phrase_unknown
Test reason phrase for unknown status codes.
tests/test_asgi_compliance.py:512
Method
test_reason_phrases
Test HTTP reason phrase lookup.
tests/test_asgi_worker.py:541
Method
test_receive_after_response_complete_returns_disconnect
(self)
tests/test_http2_h2c.py:1521
Method
test_receive_after_the_body_blocks_until_the_peer_goes
The disconnect-listener idiom must suspend, not spin.
tests/test_http2_h2c.py:1544
Method
test_receive_after_the_stream_was_reset
(self)
tests/test_http2_h2c.py:1489
Method
test_receive_blocks_on_empty_queue
Receive should block when queue is empty.
tests/test_asgi_websocket_enhanced.py:483
Method
test_receive_client_preface_and_headers
(self)
tests/test_http2_connection.py:165
Method
test_receive_cookie
Test receiving cookies.
tests/docker/asgi_compliance/test_http_compliance.py:386
Method
test_receive_data_accumulates
(self)
tests/test_http2_stream.py:240
Method
test_receive_data_in_half_closed_local
(self)
tests/test_http2_stream.py:252
Method
test_receive_data_in_invalid_state
(self)
tests/test_http2_stream.py:260
Method
test_receive_data_in_open_state
(self)
tests/test_http2_stream.py:220
Method
test_receive_data_with_end_stream
(self)
tests/test_http2_stream.py:230
Method
test_receive_empty_data_closes_connection
(self)
tests/test_http2_async_connection.py:179
Method
test_receive_empty_data_closes_connection
(self)
tests/test_http2_connection.py:152
Method
test_receive_headers_extends_existing
(self)
tests/test_http2_stream.py:199
Method
test_receive_headers_from_idle
(self)
tests/test_http2_stream.py:167
Method
test_receive_headers_in_invalid_state
(self)
tests/test_http2_stream.py:207
Method
test_receive_headers_in_open_state
(self)
tests/test_http2_stream.py:188
Method
test_receive_headers_with_end_stream
(self)
tests/test_http2_stream.py:178
Method
test_receive_large_message
Test receiving large message from server.
tests/docker/asgi_compliance/test_websocket_compliance.py:370
Method
test_receive_post_with_body
(self)
tests/test_http2_connection.py:225
Method
test_receive_returns_disconnect_when_closed
Test that receive() returns http.disconnect when connection is closed.
tests/test_asgi_disconnect.py:196
Method
test_receive_returns_from_queue
_receive should return messages from queue.
tests/test_asgi_lifespan.py:397
Method
test_receive_returns_from_queue
Test that _receive returns items from queue.
tests/test_asgi_websocket_protocol.py:612
Method
test_receive_returns_from_queue
Receive should return messages from the queue.
tests/test_asgi_websocket_enhanced.py:471
Method
test_receive_simple_get_request
(self)
tests/test_http2_async_connection.py:195
Method
test_receive_simple_get_request
(self)
tests/test_http2_connection.py:184
Method
test_receive_timeout_raises
(self)
tests/test_http2_async_connection.py:251
Method
test_receive_trailers_in_invalid_state
(self)
tests/test_http2_stream.py:285
Method
test_receive_trailers_in_open_state
(self)
tests/test_http2_stream.py:273
Method
test_receive_with_timeout
(self)
tests/test_http2_async_connection.py:235
Method
test_receive_yields_disconnect_on_timeout
When _wait_for_data times out and the body is not complete, the receiver MUST yield http.disconnect rather than synthesize a terminal
tests/test_asgi_disconnect.py:246
Method
test_receive_yields_terminal_request_when_complete
If the body is framed complete, the existing terminal http.request with more_body=False must still be returned.
tests/test_asgi_disconnect.py:273
Function
test_receiver_pulls_from_source_on_demand
uWSGI bodies are read as the app asks, not all before it starts.
tests/test_asgi_body_backpressure.py:86
Function
test_recursive_pattern_matches_nested_files
(tmp_path)
tests/test_reload.py:140
Method
test_redirect_301
Test 301 redirect.
tests/docker/asgi_compliance/test_http_compliance.py:410
Method
test_redirect_302
Test 302 redirect.
tests/docker/asgi_compliance/test_http_compliance.py:404
Method
test_redirect_307
Test 307 redirect.
tests/docker/asgi_compliance/test_http_compliance.py:415
Method
test_refused
(self)
tests/test_http2_h2c.py:2124
Method
test_refused_headers_raise
(self)
tests/test_http2_response.py:142
Method
test_refused_stream
(self)
tests/test_http2_errors.py:63
Method
test_register_worker_apps_updates_both_maps
Both app_worker_map and worker_app_map updated.
tests/test_dirty_arbiter.py:1356
Method
test_reject_before_accept_closes_connection
Rejecting before accept should close with HTTP response.
tests/test_asgi_websocket_enhanced.py:85
Method
test_reject_connection
Test connection rejection.
tests/docker/asgi_compliance/test_websocket_compliance.py:278
Function
test_reload
(options, expected)
tests/test_config.py:512
Method
test_reload
Test reload command.
tests/ctl/test_handlers.py:356
Method
test_reload_calls_manage_workers
Verify that reload calls manage_workers after spawning.
tests/test_arbiter.py:638
Function
test_reload_engine_validation
()
tests/test_config.py:251
Function
test_reload_extra_files_keeps_patterns_unexpanded
(tmp_path)
tests/test_config.py:218
Function
test_reload_extra_files_pattern_without_match_warns
(tmp_path)
tests/test_config.py:233
Function
test_reload_extra_files_plain_path_must_exist
(tmp_path)
tests/test_config.py:243
Method
test_reload_invalid_logconfig_keeps_previous
An invalid logconfig on reload is not fatal: the error is reported and the previous logger configuration is kept (#3353).
tests/test_arbiter.py:732
Method
test_reload_logs_hang_up
Verify that handle_hup logs the hang up message.
tests/test_arbiter.py:651
Function
test_reload_on_syntax_error
Test that reloading works if the application has a syntax error.
tests/test_reload.py:37
Method
test_reload_reapplies_logconfig_dict
Verify that reload re-reads logconfig_dict (#3353).
tests/test_arbiter.py:684
Method
test_reload_reapplies_logger_config
Verify that reload re-applies the logger configuration (#3353).
tests/test_arbiter.py:665
Method
test_reload_spawns_new_workers
Verify that reload spawns the configured number of workers.
tests/test_arbiter.py:621
← previous
next →
4,501–4,600 of 5,599, ranked by callers