MCPcopy Create free account

hub / github.com/benoitc/gunicorn / functions

Functions698 in github.com/benoitc/gunicorn

Functionpost_request_4
(worker, req, environ, resp)
tests/test_config.py:292
Functionpre_exec
(server)
examples/example_config.py:192
Functionpre_fork
(server, worker)
examples/example_config.py:189
Methodproc_name
(self)
gunicorn/config.py:140
Methodprocess_request
(self, request)
examples/frameworks/django/testing/testing/apps/someapp/middleware.py:18
Methodprocess_response
(self, request, response)
examples/frameworks/django/testing/testing/apps/someapp/middleware.py:21
Functionpull_request_role
(typ, rawtext, text, lineno, inliner, options={}, content=[])
docs/gunicorn_ext.py:90
Methodread
(self, size)
gunicorn/http/body.py:19
Methodrecv_into
(self, buf, length)
tests/t.py:55
Methodreload
(self)
gunicorn/app/base.py:60
Functionrequires_mac_ver
Decorator raising SkipTest if the OS is Mac OS X and the OS X version if less than min_version. For example, @requires_mac_ver(10, 5) raises
tests/support.py:38
Functionreraise
(tp, value, tb=None)
gunicorn/util.py:620
Methodreuse_connection
(self, conn, client)
gunicorn/workers/gthread.py:130
Methodreuse_port
(self)
gunicorn/config.py:212
Methodrun
(self)
gunicorn/reloader.py:39
Methodrun
(self)
gunicorn/reloader.py:103
Methodrun
Main master loop.
gunicorn/arbiter.py:196
Methodrun
(self)
gunicorn/app/base.py:70
Methodrun
(self)
gunicorn/workers/geventlet.py:152
Methodrun
(self)
gunicorn/workers/sync.py:112
Methodrun
(self)
gunicorn/workers/gthread.py:183
Methodrun
(self)
gunicorn/workers/ggevent.py:56
Methodrun
(self)
gunicorn/workers/gtornado.py:89
Methodrun
(self)
tests/test_reload.py:26
Methodrun
()
tests/t.py:30
Methodrun_tests
(self)
setup.py:65
Functionsd_notify
Send a notification to systemd. state is a string; see the man page of sd_notify (http://www.freedesktop.org/software/systemd/man/sd_notify.html)
gunicorn/systemd.py:49
Functionseed
()
gunicorn/util.py:543
Methodsend
(self, msg)
tests/test_statsd.py:24
Methodsend
()
examples/frameworks/tornadoapp.py:25
Methodsend_all
(self)
tests/treq.py:61
Methodsend_bytes
(self)
tests/treq.py:74
Methodsend_lines
(self)
tests/treq.py:64
Methodsend_random
(self)
tests/treq.py:78
Methodsend_special_chunks
Meant to test the request line length check. Sends the request data in two chunks, one having a length of 1 byte, which ensures that
tests/treq.py:86
Methodsendfile
(self)
gunicorn/config.py:201
Functionserve
\ A Paste Deployment server runner. Example configuration: [server:main] use = egg:gunicorn#main host = 127.0.0.1
gunicorn/app/pasterapp.py:33
Methodset_body_reader
(self)
gunicorn/http/message.py:353
Functionset_non_blocking
(fd)
gunicorn/util.py:252
Methodset_options
(self, sock, bound=False)
gunicorn/sock.py:87
Functionset_owner_process
set user and group of workers processes
gunicorn/util.py:129
Methodsetup
(cls)
gunicorn/workers/gtornado.py:34
Methodshould_close
(self)
gunicorn/http/message.py:152
Methodsize_all
(self)
tests/treq.py:108
Methodsize_bytes
(self)
tests/treq.py:111
Methodsize_random
(self)
tests/treq.py:117
Methodsize_small_random
(self)
tests/treq.py:114
Functionspew
Install a trace hook which writes incredibly detailed logs about what code is being executed to stdout.
gunicorn/debug.py:59
Methodssl_options
(self)
gunicorn/config.py:174
Functiontest_always_use_configured_logger
()
tests/test_config.py:333
Functiontest_app_config
()
tests/test_config.py:222
Functiontest_arbiter_calls_worker_exit
(mock_os_fork)
tests/test_arbiter.py:124
Functiontest_arbiter_reap_workers
(mock_os_waitpid)
tests/test_arbiter.py:140
Functiontest_arbiter_reexec_limit_child
(fork)
tests/test_arbiter.py:116
Functiontest_arbiter_reexec_limit_parent
(fork)
tests/test_arbiter.py:108
Functiontest_arbiter_reexec_passing_gunicorn_sockets
(execvpe, fork, getpid)
tests/test_arbiter.py:92
Functiontest_arbiter_reexec_passing_systemd_sockets
(execvpe, fork, getpid)
tests/test_arbiter.py:76
Functiontest_arbiter_stop_child_does_not_unlink_listeners
(close_sockets)
tests/test_arbiter.py:41
Functiontest_arbiter_stop_closes_listeners
(close_sockets)
tests/test_arbiter.py:30
Functiontest_arbiter_stop_does_not_unlink_systemd_listeners
(close_sockets)
tests/test_arbiter.py:57
Functiontest_arbiter_stop_does_not_unlink_when_using_reuse_port
(close_sockets)
tests/test_arbiter.py:65
Functiontest_arbiter_stop_parent_does_not_unlink_listeners
(close_sockets)
tests/test_arbiter.py:49
Functiontest_atoms_defaults
()
tests/test_logger.py:10
Functiontest_atoms_zero_bytes
()
tests/test_logger.py:35
Methodtest_basic_addition
Tests that 1 + 1 always equals 2.
examples/frameworks/django/testing/testing/apps/someapp/tests.py:11
Functiontest_bind_fd
()
tests/test_config.py:475
Functiontest_bool_validation
()
tests/test_config.py:114
Functiontest_cacerts
()
tests/test_ssl.py:43
Functiontest_callable_validation
()
tests/test_config.py:162
Functiontest_callable_validation_for_string
()
tests/test_config.py:183
Functiontest_certfile
()
tests/test_ssl.py:27
Functiontest_ciphers
()
tests/test_ssl.py:70
Functiontest_cli_overrides_config
()
tests/test_config.py:253
Functiontest_cli_overrides_config_module
()
tests/test_config.py:260
Functiontest_cli_overrides_enviroment_variables_module
(monkeypatch)
tests/test_config.py:368
Functiontest_cmd_line
()
tests/test_config.py:202
Functiontest_cmd_line_invalid_setting
(capsys)
tests/test_config.py:214
Functiontest_config_file_environment_variable
(monkeypatch)
tests/test_config.py:348
Functiontest_create_sockets_unix_bytes
(stat)
tests/test_sock.py:12
Functiontest_create_sockets_unix_strings
(stat)
tests/test_sock.py:23
Functiontest_default_config_file
(create_config_file)
tests/test_config.py:281
Functiontest_defaults
()
tests/test_config.py:66
Functiontest_do_handshake_on_connect
()
tests/test_ssl.py:61
Functiontest_dogstatsd_tags
()
tests/test_statsd.py:62
Functiontest_env_vars_available_during_preload
Ensure that configured environmental variables are set during the initial set up of the application (called from the .setup() method of the Ar
tests/test_arbiter.py:180
Functiontest_eof_reader_read
()
tests/test_http.py:209
Functiontest_eof_reader_read_invalid_size
()
tests/test_http.py:222
Functiontest_get_username_from_basic_auth_header
(auth)
tests/test_logger.py:58
Functiontest_get_username_handles_malformed_basic_auth_header
Should catch a malformed auth header
tests/test_logger.py:75
Functiontest_http_date
()
tests/test_util.py:44
Functiontest_http_header_encoding
tests whether http response headers are USASCII encoded
tests/test_http.py:71
Functiontest_http_invalid_response_header
tests whether http response headers are contains control chars
tests/test_http.py:99
Functiontest_http_parser
(fname)
tests/test_valid_requests.py:19
Functiontest_http_parser
(fname)
tests/test_invalid_requests.py:19
Functiontest_import
()
tests/workers/test_ggevent.py:6
Functiontest_import
()
tests/workers/test_geventlet.py:6
Functiontest_import_app_bad
(value, exc_type, msg)
tests/test_util.py:93
Functiontest_import_app_good
(value)
tests/test_util.py:74
Functiontest_import_app_py_ext
(monkeypatch)
tests/test_util.py:100
Functiontest_instrument
()
tests/test_statsd.py:73
← previousnext →501–600 of 698, ranked by callers