Welcome! Log In Create A New Profile

Advanced

[PATCH 3 of 4] QUIC: style

Roman Arutyunyan
January 31, 2022 10:30AM
# HG changeset patch
# User Roman Arutyunyan <arut@nginx.com>
# Date 1643641743 -10800
# Mon Jan 31 18:09:03 2022 +0300
# Branch quic
# Node ID cba58cb06b3aee94e7e16a8dc0562a5a4f7d3066
# Parent 3436b441239b494e6f63db3b8d26a71682b4f106
QUIC: style.

diff --git a/src/event/quic/ngx_event_quic.h b/src/event/quic/ngx_event_quic.h
--- a/src/event/quic/ngx_event_quic.h
+++ b/src/event/quic/ngx_event_quic.h
@@ -49,45 +49,45 @@ typedef enum {


typedef struct {
- ngx_ssl_t *ssl;
+ ngx_ssl_t *ssl;

- ngx_flag_t retry;
- ngx_flag_t gso_enabled;
- ngx_flag_t disable_active_migration;
- ngx_msec_t timeout;
- ngx_str_t host_key;
- size_t mtu;
- size_t stream_buffer_size;
- ngx_uint_t max_concurrent_streams_bidi;
- ngx_uint_t max_concurrent_streams_uni;
- ngx_uint_t active_connection_id_limit;
- ngx_int_t stream_close_code;
- ngx_int_t stream_reject_code_uni;
- ngx_int_t stream_reject_code_bidi;
+ ngx_flag_t retry;
+ ngx_flag_t gso_enabled;
+ ngx_flag_t disable_active_migration;
+ ngx_msec_t timeout;
+ ngx_str_t host_key;
+ size_t mtu;
+ size_t stream_buffer_size;
+ ngx_uint_t max_concurrent_streams_bidi;
+ ngx_uint_t max_concurrent_streams_uni;
+ ngx_uint_t active_connection_id_limit;
+ ngx_int_t stream_close_code;
+ ngx_int_t stream_reject_code_uni;
+ ngx_int_t stream_reject_code_bidi;

- u_char av_token_key[NGX_QUIC_AV_KEY_LEN];
- u_char sr_token_key[NGX_QUIC_SR_KEY_LEN];
+ u_char av_token_key[NGX_QUIC_AV_KEY_LEN];
+ u_char sr_token_key[NGX_QUIC_SR_KEY_LEN];
} ngx_quic_conf_t;


struct ngx_quic_stream_s {
- ngx_rbtree_node_t node;
- ngx_queue_t queue;
- ngx_connection_t *parent;
- ngx_connection_t *connection;
- uint64_t id;
- uint64_t acked;
- uint64_t send_max_data;
- uint64_t recv_max_data;
- uint64_t recv_offset;
- uint64_t recv_window;
- uint64_t recv_last;
- uint64_t final_size;
- ngx_chain_t *in;
- ngx_chain_t *out;
- ngx_uint_t cancelable; /* unsigned cancelable:1; */
- ngx_quic_stream_send_state_e send_state;
- ngx_quic_stream_recv_state_e recv_state;
+ ngx_rbtree_node_t node;
+ ngx_queue_t queue;
+ ngx_connection_t *parent;
+ ngx_connection_t *connection;
+ uint64_t id;
+ uint64_t acked;
+ uint64_t send_max_data;
+ uint64_t recv_max_data;
+ uint64_t recv_offset;
+ uint64_t recv_window;
+ uint64_t recv_last;
+ uint64_t final_size;
+ ngx_chain_t *in;
+ ngx_chain_t *out;
+ ngx_uint_t cancelable; /* unsigned cancelable:1; */
+ ngx_quic_stream_send_state_e send_state;
+ ngx_quic_stream_recv_state_e recv_state;
};


_______________________________________________
nginx-devel mailing list -- nginx-devel@nginx.org
To unsubscribe send an email to nginx-devel-leave@nginx.org
Subject Author Views Posted

[PATCH 0 of 2] QUIC stream states and events

Roman Arutyunyan 361 January 26, 2022 04:10AM

[PATCH 1 of 2] QUIC: introduced explicit stream states

Roman Arutyunyan 97 January 26, 2022 04:12AM

[PATCH 2 of 2] QUIC: stream event setting function

Roman Arutyunyan 148 January 26, 2022 04:14AM

[PATCH 0 of 3] QUIC stream states and events

Roman Arutyunyan 100 January 31, 2022 02:36AM

[PATCH 1 of 3] QUIC: introduced explicit stream states

Roman Arutyunyan 93 January 31, 2022 02:38AM

Re: [PATCH 1 of 3] QUIC: introduced explicit stream states

Vladimir Homutov 87 January 31, 2022 05:20AM

Re: [PATCH 1 of 3] QUIC: introduced explicit stream states

Roman Arutyunyan 93 January 31, 2022 10:14AM

[PATCH 2 of 3] HTTP/3: proper uni stream closure detection

Roman Arutyunyan 120 January 31, 2022 02:40AM

Re: [PATCH 2 of 3] HTTP/3: proper uni stream closure detection

Vladimir Homutov 79 January 31, 2022 05:44AM

Re: [PATCH 2 of 3] HTTP/3: proper uni stream closure detection

Roman Arutyunyan 92 January 31, 2022 10:16AM

[PATCH 3 of 3] QUIC: stream event setting function

Roman Arutyunyan 95 January 31, 2022 02:42AM

Re: [PATCH 3 of 3] QUIC: stream event setting function

Vladimir Homutov 106 January 31, 2022 07:22AM

[PATCH 0 of 4] QUIC stream states and events

Roman Arutyunyan 178 January 31, 2022 10:24AM

[PATCH 1 of 4] QUIC: introduced explicit stream states

Roman Arutyunyan 129 January 31, 2022 10:26AM

[PATCH 2 of 4] HTTP/3: proper uni stream closure detection

Roman Arutyunyan 103 January 31, 2022 10:28AM

[PATCH 3 of 4] QUIC: style

Roman Arutyunyan 103 January 31, 2022 10:30AM

[PATCH 4 of 4] QUIC: stream event setting function

Roman Arutyunyan 144 January 31, 2022 10:32AM

Re: [PATCH 0 of 4] QUIC stream states and events

Vladimir Homutov 136 January 31, 2022 12:16PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 299
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready