MCPcopy Create free account

hub / github.com/benoitc/gunicorn / functions

Functions5,599 in github.com/benoitc/gunicorn

↓ 1 callersFunction_wait_ready
(timeout=240)
tests/docker/stress/conftest.py:91
↓ 1 callersFunction_wait_ready
(port, timeout=15)
benchmarks/asgi/run.py:116
↓ 1 callersFunction_wait_stable
Return the worker count once it holds steady across ``samples`` reads. A prior HUP reload leaves old and new workers briefly co-parented under th
tests/docker/stress/test_resilience.py:39
↓ 1 callersFunction_waitfor
(func, pathname, waitall=False)
gunicorn/util.py:184
↓ 1 callersFunction_websocket
(scope, receive, send)
tests/docker/stress/apps/stress_app.py:257
↓ 1 callersFunction_write_output
(markdown: str)
scripts/build_settings_doc.py:234
↓ 1 callersMethod_write_pending
Send whatever h2 already has queued, without waiting. Used by the receive loop: what it has to send are control frames (SETTINGS and
gunicorn/http2/async_connection.py:898
↓ 1 callersFunction_wrk
(port, script, duration, threads, connections)
benchmarks/asgi/run.py:168
↓ 1 callersMethodadd_option
(self, parser)
gunicorn/config.py:327
↓ 1 callersFunctionalt_cfg_file
()
tests/test_config.py:29
↓ 1 callersFunctionapp
(environ, start_response)
examples/bad.py:7
↓ 1 callersMethodapp
(scope, receive, send)
tests/test_asgi_worker.py:286
↓ 1 callersFunctionbenchmark_asgi_parser
Benchmark ASGI parser.
benchmarks/http_parser_benchmark.py:120
↓ 1 callersFunctionbenchmark_concurrent_streams
Benchmark multiple concurrent streams.
benchmarks/dirty_streaming.py:330
↓ 1 callersFunctionbenchmark_memory_stability
Check memory stability over many iterations.
benchmarks/dirty_streaming.py:372
↓ 1 callersFunctionbenchmark_sync_client_streaming
Benchmark DirtyStreamIterator directly (for comparison with async). Note: This runs the sync iterator within an async context for comparison
benchmarks/dirty_streaming.py:512
↓ 1 callersFunctionbenchmark_wsgi_parser
Benchmark WSGI parser.
benchmarks/http_parser_benchmark.py:86
↓ 1 callersFunctionbody
(data, more=False)
tests/docker/stress/apps/stress_app.py:183
↓ 1 callersMethodcan_write_eof
(self)
tests/test_http2_h2c.py:487
↓ 1 callersFunctionchat_websocket
Chat WebSocket - simple broadcast example.
examples/asgi/websocket_app.py:135
↓ 1 callersFunctioncheck_dependencies
Check if required tools are available.
benchmarks/run_benchmark.py:27
↓ 1 callersMethodcheck_dependencies
Check for available load testing tools.
benchmarks/dirty_benchmark.py:386
↓ 1 callersMethodchild_exit
(server, worker)
gunicorn/config.py:2100
↓ 1 callersMethodchunk
Return the next piece of data from the source. ``size_hint`` is how many bytes the caller still wants; sources may use it to read mor
gunicorn/http/unreader.py:16
↓ 1 callersMethodchunk
(self, size_hint=None)
gunicorn/http/unreader.py:108
↓ 1 callersMethodclose
Drop what is held; further reads raise ValueError.
gunicorn/http2/request.py:164
↓ 1 callersMethodclose
(self)
tests/test_http2_async_connection.py:86
↓ 1 callersMethodclose
(self)
tests/docker/asgi_compliance/conftest.py:350
↓ 1 callersMethodclose
(self)
examples/dirty_example/dirty_app.py:174
↓ 1 callersMethodclose
(self)
benchmarks/asgi/profile_requests.py:85
↓ 1 callersFunctioncloserange
(fd_low, fd_high)
gunicorn/util.py:328
↓ 1 callersFunctioncompare
(datas)
benchmarks/asgi/report.py:103
↓ 1 callersFunctioncreate_app
(name="World", count=1)
tests/support.py:14
↓ 1 callersMethodcreate_worker
Create a worker for testing.
tests/test_gtornado.py:423
↓ 1 callersMethodcritical
(self, msg, *args, **kwargs)
gunicorn/glogging.py:279
↓ 1 callersFunctiondata_source
(fname)
tests/t.py:15
↓ 1 callersMethoddecode_hybi
Decode HyBi style WebSocket packets. Returns: {'fin' : 0_or_1, 'opcode' : number, 'mask'
examples/websocket/gevent_websocket.py:191
↓ 1 callersMethoddelete_table
Delete an entire table. Args: table: Table name
gunicorn/dirty/stash.py:292
↓ 1 callersMethoddisplay
(self)
benchmarks/dirty_streaming.py:186
↓ 1 callersMethoddrain
(self)
tests/test_dirty_worker.py:64
↓ 1 callersFunctiondrive
()
tests/docker/stress/k6/lib/checks.js:33
↓ 1 callersFunctionecho_websocket
Echo WebSocket - sends back whatever it receives.
examples/asgi/websocket_app.py:95
↓ 1 callersMethodencode_manage
Encode a worker management message. Args: request_id: Request identifier op: Management operation (MANAGE_OP
gunicorn/dirty/protocol.py:304
↓ 1 callersMethodencode_stash
Encode a stash operation message. Args: request_id: Unique request identifier (uint64) op: Stash operation c
gunicorn/dirty/protocol.py:326
↓ 1 callersMethodencode_status
Encode a status query message. Args: request_id: Request identifier Returns: bytes: Complete messag
gunicorn/dirty/protocol.py:289
↓ 1 callersMethodensure
Ensure a table exists (create if not exists). This is idempotent - calling it multiple times is safe. Args: tab
gunicorn/dirty/stash.py:268
↓ 1 callersMethoderror
(self, msg, *args)
tests/ctl/test_server.py:68
↓ 1 callersMethoderror
(self, msg, *args)
examples/dirty_example/test_worker_integration.py:33
↓ 1 callersMethoderror404
(self, environ, start_response)
examples/multiapp.py:39
↓ 1 callersMethodevent_gen
(self)
tests/test_reload.py:97
↓ 1 callersMethodfileno
(self)
tests/test_gthread.py:32
↓ 1 callersMethodfileno
(self)
tests/t.py:45
↓ 1 callersFunctionfind_free_port
Find a free port to bind to.
tests/test_signal_integration.py:40
↓ 1 callersMethodfinish
Mark parsing complete for EOF handling. Call when no more data will be received. Handles edge cases like chunked encoding without fin
gunicorn/asgi/parser.py:298
↓ 1 callersMethodfmt_desc
(cls, desc)
gunicorn/config.py:302
↓ 1 callersMethodforce_close
(self)
gunicorn/http/message.py:328
↓ 1 callersMethodforce_close
Force the connection to close after this request.
gunicorn/uwsgi/message.py:86
↓ 1 callersMethodforce_close
Force the connection to close after this request.
gunicorn/http2/request.py:310
↓ 1 callersFunctionformat_all
Format show all output for display.
gunicorn/ctl/cli.py:172
↓ 1 callersFunctionformat_config
Format config output for display.
gunicorn/ctl/cli.py:142
↓ 1 callersFunctionformat_dirty
Format dirty workers output for display.
gunicorn/ctl/cli.py:45
↓ 1 callersFunctionformat_headers
Format headers for display.
examples/asgi/basic_app.py:109
↓ 1 callersFunctionformat_help
Format help output for display.
gunicorn/ctl/cli.py:156
↓ 1 callersFunctionformat_listeners
Format listeners output for display.
gunicorn/ctl/cli.py:120
↓ 1 callersFunctionformat_request_info
Format request info as JSON.
examples/asgi/basic_app.py:117
↓ 1 callersFunctionformat_stats
Format stats output for display.
gunicorn/ctl/cli.py:87
↓ 1 callersFunctionformat_workers
Format workers output for display.
gunicorn/ctl/cli.py:20
↓ 1 callersMethodgauge
(self, name, value)
gunicorn/instrument/statsd.py:116
↓ 1 callersFunctiongen
()
tests/docker/stress/apps/stress_app.py:94
↓ 1 callersFunctiongen
()
tests/support/http2_live_app.py:20
↓ 1 callersFunctiongen_3_chunks
()
benchmarks/dirty_streaming.py:295
↓ 1 callersMethodgen_cases
(self, cfg)
tests/treq.py:251
↓ 1 callersFunctiongen_chunks
()
benchmarks/dirty_streaming.py:383
↓ 1 callersFunctiongenerate
()
tests/docker/uwsgi/app.py:164
↓ 1 callersFunctiongenerate
()
tests/docker/http2/app.py:62
↓ 1 callersFunctiongenerate
()
examples/http2_gevent/app.py:70
↓ 1 callersMethodgenerate
Generate a streaming response for the given prompt. Yields tokens (words) one at a time with realistic delays to simulate LLM inferen
examples/streaming_chat/chat_app.py:64
↓ 1 callersFunctiongenerate_markdown
Generate markdown compatibility grid.
tests/docker/asgi_framework_compat/scripts/generate_grid.py:79
↓ 1 callersFunctiongenerate_report
Generate a summary report from benchmark results.
benchmarks/dirty_benchmark.py:853
↓ 1 callersFunctiongenerate_self_signed_cert
Generate self-signed SSL certificates for testing.
tests/docker/asgi_compliance/conftest.py:19
↓ 1 callersFunctiongenerate_self_signed_cert
Generate self-signed SSL certificates for testing.
tests/docker/http2/conftest.py:18
↓ 1 callersMethodgenerate_thumbnail
Generate a thumbnail.
examples/celery_alternative/tasks.py:224
↓ 1 callersMethodget_backlog
(self)
gunicorn/sock.py:110
↓ 1 callersMethodget_cmd_args_from_env
(self)
gunicorn/config.py:109
↓ 1 callersMethodget_config_from_filename
(self, filename)
gunicorn/app/base.py:93
↓ 1 callersMethodget_config_from_module_name
(self, module_name)
gunicorn/app/base.py:120
↓ 1 callersMethodget_data
(self, unreader, buf, stop=False)
gunicorn/http/message.py:527
↓ 1 callersFunctionget_dirty_arbiter_pid
Get the dirty arbiter PID from the container.
tests/docker/dirty_ttin_ttou/test_ttin_ttou_docker.py:66
↓ 1 callersFunctionget_dirty_client
Get the dirty client, with fallback for when dirty workers aren't enabled.
examples/dirty_example/wsgi_app.py:21
↓ 1 callersMethodget_environ
(self)
gunicorn/workers/ggevent.py:176
↓ 1 callersFunctionget_h2_header_value
Extract a header value from h2 headers list.
tests/test_http2_async_connection.py:375
↓ 1 callersMethodget_last_response
Get the last response message.
examples/dirty_example/test_worker_integration.py:63
↓ 1 callersFunctionget_negotiated_protocol
Get the negotiated ALPN protocol from an SSL socket. Returns: str: The negotiated protocol name ('h2', 'http/1.1', etc.) or
gunicorn/sock.py:307
↓ 1 callersFunctionget_param
(name, default, type_fn=int)
benchmarks/dirty_bench_wsgi.py:57
↓ 1 callersFunctionget_parser_class
Get the appropriate parser class for the test parameter.
tests/treq_asgi.py:54
↓ 1 callersFunctionget_query_param
Get a query parameter value.
examples/asgi/basic_app.py:98
↓ 1 callersFunctionget_stash_socket_path
Get the stash socket path.
gunicorn/dirty/stash.py:424
↓ 1 callersFunctionget_username
get the username for a user id
gunicorn/util.py:155
↓ 1 callersFunctionget_wsgi_app
(config_uri, name=None, defaults=None)
gunicorn/app/pasterapp.py:14
↓ 1 callersMethodgetsockname
(self)
tests/test_asgi_worker.py:59
← previousnext →1,101–1,200 of 5,599, ranked by callers