Home
last modified time | relevance | path

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

/unit/src/python/
H A Dnxt_python_asgi_http.c303 nxt_py_asgi_calc_size_ctx_t calc_size_ctx; in nxt_py_asgi_http_response_start() local
313 calc_size_ctx.fields_size = 0; in nxt_py_asgi_http_response_start()
314 calc_size_ctx.fields_count = 0; in nxt_py_asgi_http_response_start()
319 &calc_size_ctx); in nxt_py_asgi_http_response_start()
328 calc_size_ctx.fields_count, in nxt_py_asgi_http_response_start()
329 calc_size_ctx.fields_size); in nxt_py_asgi_http_response_start()
H A Dnxt_python_asgi_websocket.c260 nxt_py_asgi_calc_size_ctx_t calc_size_ctx; in nxt_py_asgi_websocket_accept() local
290 calc_size_ctx.fields_size = 0; in nxt_py_asgi_websocket_accept()
291 calc_size_ctx.fields_count = 0; in nxt_py_asgi_websocket_accept()
296 &calc_size_ctx); in nxt_py_asgi_websocket_accept()
307 calc_size_ctx.fields_size += ws_protocol.length + subprotocol_len; in nxt_py_asgi_websocket_accept()
308 calc_size_ctx.fields_count++; in nxt_py_asgi_websocket_accept()
316 calc_size_ctx.fields_count, in nxt_py_asgi_websocket_accept()
317 calc_size_ctx.fields_size); in nxt_py_asgi_websocket_accept()