nxt_h1proto.h (1318:f237e8c553fd) nxt_h1proto.h (1505:d18f2b38596b)
1
2/*
3 * Copyright (C) NGINX, Inc.
4 */
5
6#ifndef _NXT_H1PROTO_H_INCLUDED_
7#define _NXT_H1PROTO_H_INCLUDED_
8

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

13#include <nxt_router.h>
14
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;
1
2/*
3 * Copyright (C) NGINX, Inc.
4 */
5
6#ifndef _NXT_H1PROTO_H_INCLUDED_
7#define _NXT_H1PROTO_H_INCLUDED_
8

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

13#include <nxt_router.h>
14
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 nxt_http_chunk_parse_t chunked_parse;
22 nxt_off_t remainder;
21
22 uint8_t nbuffers;
23 uint8_t header_buffer_slot;
24 uint8_t large_buffer_slot;
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 */

--- 24 unchanged lines hidden ---
23
24 uint8_t nbuffers;
25 uint8_t header_buffer_slot;
26 uint8_t large_buffer_slot;
27 uint8_t keepalive; /* 1 bit */
28 uint8_t chunked; /* 1 bit */
29 uint8_t websocket; /* 1 bit */
30 uint8_t connection_upgrade; /* 1 bit */

--- 24 unchanged lines hidden ---