nxt_h1proto.h (1131:ec7d924d8dfb) nxt_h1proto.h (1270:9efa309be18b)
1
2/*
3 * Copyright (C) NGINX, Inc.
4 */
5
6#ifndef _NXT_H1PROTO_H_INCLUDED_
7#define _NXT_H1PROTO_H_INCLUDED_
8

--- 6 unchanged lines hidden (view full) ---

15
16typedef struct nxt_h1p_websocket_timer_s nxt_h1p_websocket_timer_t;
17
18
19struct nxt_h1proto_s {
20 nxt_http_request_parse_t parser;
21
22 uint8_t nbuffers;
1
2/*
3 * Copyright (C) NGINX, Inc.
4 */
5
6#ifndef _NXT_H1PROTO_H_INCLUDED_
7#define _NXT_H1PROTO_H_INCLUDED_
8

--- 6 unchanged lines hidden (view full) ---

15
16typedef struct nxt_h1p_websocket_timer_s nxt_h1p_websocket_timer_t;
17
18
19struct nxt_h1proto_s {
20 nxt_http_request_parse_t parser;
21
22 uint8_t nbuffers;
23 uint8_t header_buffer_slot;
24 uint8_t large_buffer_slot;
23 uint8_t keepalive; /* 1 bit */
24 uint8_t chunked; /* 1 bit */
25 uint8_t websocket; /* 1 bit */
26 uint8_t connection_upgrade; /* 1 bit */
27 uint8_t upgrade_websocket; /* 1 bit */
28 uint8_t websocket_version_ok; /* 1 bit */
29 nxt_http_te_t transfer_encoding:8; /* 2 bits */
30

--- 18 unchanged lines hidden ---
25 uint8_t keepalive; /* 1 bit */
26 uint8_t chunked; /* 1 bit */
27 uint8_t websocket; /* 1 bit */
28 uint8_t connection_upgrade; /* 1 bit */
29 uint8_t upgrade_websocket; /* 1 bit */
30 uint8_t websocket_version_ok; /* 1 bit */
31 nxt_http_te_t transfer_encoding:8; /* 2 bits */
32

--- 18 unchanged lines hidden ---