Home
last modified time | relevance | path

Searched refs:body_len (Results 1 – 1 of 1) sorted by relevance

/unit/src/python/
H A Dnxt_python_asgi_http.c362 Py_ssize_t body_len, body_off; in nxt_py_asgi_http_response_body() local
387 body_len = PyBytes_GET_SIZE(body); in nxt_py_asgi_http_response_body()
390 (int) body_len, (more_body == Py_True) ); in nxt_py_asgi_http_response_body()
392 if (nxt_slow_path(http->bytes_sent + body_len in nxt_py_asgi_http_response_body()
403 while (body_len > 0) { in nxt_py_asgi_http_response_body()
412 (int) body_len); in nxt_py_asgi_http_response_body()
438 body_len -= sent; in nxt_py_asgi_http_response_body()
563 Py_ssize_t body_len; in nxt_py_asgi_http_drain() local
569 body_len = PyBytes_GET_SIZE(http->send_body) - http->send_body_off; in nxt_py_asgi_http_drain()
573 while (body_len > 0) { in nxt_py_asgi_http_drain()
[all …]