Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions doc/admin-guide/files/records.yaml.en.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4489,12 +4489,16 @@ removed in the future without prior notice.
.. ts:cv:: CONFIG proxy.config.quic.no_activity_timeout_in INT 30000
:reloadable:

The max idle timeout in milliseconds.
This value will be advertised as ``idle_timeout`` Transport Parameter.
Transport Parameter.

.. ts:cv:: CONFIG proxy.config.quic.no_activity_timeout_out INT 30000
:reloadable:

The max idle timeout in milliseconds.
This value will be advertised as ``idle_timeout`` Transport Parameter.
Transport Parameter.

.. ts:cv:: CONFIG proxy.config.quic.preferred_address_ipv4 STRING ""
:reloadable:
Expand All @@ -4511,6 +4515,9 @@ removed in the future without prior notice.
.. ts:cv:: CONFIG proxy.config.quic.initial_max_data_in INT 65536
:reloadable:

Integer value that contains the initial value for the maximum amount of data
that can be sent on the connection.

This value will be advertised as ``initial_max_data`` Transport Parameter.

.. ts:cv:: CONFIG proxy.config.quic.initial_max_data_out INT 65536
Expand Down
10 changes: 5 additions & 5 deletions iocore/net/QUICNetProcessor_quiche.cc
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,13 @@ QUICNetProcessor::start(int, size_t stacksize)
quiche_config_load_priv_key_from_pem_file(this->_quiche_config, context->userconfig->key);
}

quiche_config_set_max_idle_timeout(this->_quiche_config, 5000);
quiche_config_set_max_idle_timeout(this->_quiche_config, params->no_activity_timeout_in());
quiche_config_set_max_recv_udp_payload_size(this->_quiche_config, 16384);
quiche_config_set_max_send_udp_payload_size(this->_quiche_config, 16384);
quiche_config_set_initial_max_data(this->_quiche_config, 10000000);
quiche_config_set_initial_max_stream_data_bidi_local(this->_quiche_config, 1000000);
quiche_config_set_initial_max_stream_data_bidi_remote(this->_quiche_config, 1000000);
quiche_config_set_initial_max_stream_data_uni(this->_quiche_config, 1000000);
quiche_config_set_initial_max_data(this->_quiche_config, params->initial_max_data_in());
quiche_config_set_initial_max_stream_data_bidi_local(this->_quiche_config, params->initial_max_stream_data_bidi_local_in());
quiche_config_set_initial_max_stream_data_bidi_remote(this->_quiche_config, params->initial_max_stream_data_bidi_remote_in());
quiche_config_set_initial_max_stream_data_uni(this->_quiche_config, params->initial_max_stream_data_uni_in());
quiche_config_set_initial_max_streams_bidi(this->_quiche_config, params->initial_max_streams_bidi_in());
quiche_config_set_initial_max_streams_uni(this->_quiche_config, params->initial_max_streams_uni_in());
quiche_config_set_disable_active_migration(this->_quiche_config, params->disable_active_migration());
Expand Down