g3proxy: make listen config optional in real servers

This commit is contained in:
Zhang Jingqiang 2023-08-02 15:46:05 +08:00
parent 6a16ba7f6e
commit 067ea8e8e8
23 changed files with 160 additions and 35 deletions

View file

@ -11,7 +11,6 @@ The following common keys are supported:
* :ref:`auditor <conf_server_common_auditor>`
* :ref:`user_group <conf_server_common_user_group>`
* :ref:`shared_logger <conf_server_common_shared_logger>`
* :ref:`listen <conf_server_common_listen>`
* :ref:`listen_in_worker <conf_server_common_listen_in_worker>`
* :ref:`tls_server <conf_server_common_tls_server>`
* :ref:`tcp_sock_speed_limit <conf_server_common_tcp_sock_speed_limit>`
@ -35,6 +34,19 @@ The auth scheme supported by the server is determined by the type of the specifi
|Negotiate |gss_api |not yet |
+-------------+---------------------------+-------------------+
listen
------
**optional**, **type**: :ref:`tcp listen <conf_value_tcp_listen>`
Set the listen config for this server.
The instance count setting will be ignored if *listen_in_worker* is correctly enabled.
**default**: not set
.. versionadded:: 1.7.20 change listen config to be optional
.. _config_server_http_proxy_server_id:
server_id