Home
last modified time | relevance | path

Searched refs:hsize (Results 1 – 2 of 2) sorted by last modified time

/unit/src/
H A Dnxt_unit.c1623 size_t hsize; in nxt_unit_process_websocket() local
1689 hsize = nxt_websocket_frame_header_size(ws_impl->ws.header); in nxt_unit_process_websocket()
1692 ws_impl->ws.mask = (uint8_t *) b->buf.start + hsize - 4; in nxt_unit_process_websocket()
1698 b->buf.free += hsize; in nxt_unit_process_websocket()
3444 size_t size, hsize; in nxt_unit_websocket_retain() local
3462 hsize = nxt_websocket_frame_header_size(b); in nxt_unit_websocket_retain()
3465 ws_impl->buf->buf.free = b + hsize; in nxt_unit_websocket_retain()
3473 ws_impl->ws.mask = (uint8_t *) b + hsize - 4; in nxt_unit_websocket_retain()
H A Dnxt_h1proto_websocket.c219 size_t size, hsize, frame_size, max_frame_size; in nxt_h1p_conn_ws_frame_header_read() local
247 hsize = nxt_websocket_frame_header_size(wsh); in nxt_h1p_conn_ws_frame_header_read()
249 if (size < hsize) { in nxt_h1p_conn_ws_frame_header_read()
250 nxt_debug(task, "h1p conn ws frame header read %z < %z", size, hsize); in nxt_h1p_conn_ws_frame_header_read()
323 if (nxt_slow_path(hsize > max_frame_size in nxt_h1p_conn_ws_frame_header_read()
324 || payload_len > (max_frame_size - hsize))) in nxt_h1p_conn_ws_frame_header_read()
332 frame_size = payload_len + hsize; in nxt_h1p_conn_ws_frame_header_read()
402 size_t hsize; in nxt_h1p_conn_ws_frame_process() local
418 hsize = nxt_websocket_frame_header_size(wsh); in nxt_h1p_conn_ws_frame_process()
419 mask = nxt_pointer_to(wsh, hsize - 4); in nxt_h1p_conn_ws_frame_process()
[all …]