Home
last modified time | relevance | path

Searched refs:buf_free_size (Results 1 – 1 of 1) sorted by path

/unit/src/
H A Dnxt_http_websocket.c31 size_t frame_size, used_size, copy_size, buf_free_size; in nxt_http_websocket_client() local
56 buf_free_size = 0; in nxt_http_websocket_client()
67 if (buf == NULL || buf_free_size == 0) { in nxt_http_websocket_client()
68 buf_free_size = nxt_min(frame_size, PORT_MMAP_DATA_SIZE); in nxt_http_websocket_client()
71 buf_free_size); in nxt_http_websocket_client()
77 chunk_copy_size = nxt_min(buf_free_size, copy_size); in nxt_http_websocket_client()
84 buf_free_size -= chunk_copy_size; in nxt_http_websocket_client()