From 3200b4078a73bf6917442038625a1e694d7f41a8 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Fri, 26 Jul 2024 10:19:01 +0800 Subject: config.md: _SERVER -> _NETWORK --- config.md | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/config.md b/config.md index 3e8e965..572a4d0 100644 --- a/config.md +++ b/config.md @@ -333,25 +333,22 @@ the following: # PLAINTEXT: Use plain TCP sockets. # GNUTLS: Use TLS over TCP, as provided by GnuTLS. # OPENSSL: Use TLS over TCP, as provided by OpenSSL/LibreSSL. -# SERVER: Support using this transport in S2S connections. -# CLIENT: Support using this transport in S2C connections. # The BUFFERED variants causes sending to occur over a separate thread # and uses a ring buffer to buffer messages, until full messages are # ready to send. These usually perform better than their unbuffered # counterparts. The size of the ring buffer is configurable in # config.c. -LAST_PLAINTEXT_CLIENT = 1 -LAST_PLAINTEXT_SERVER = 1 -LAST_GNUTLS_CLIENT = -LAST_GNUTLS_SERVER = -LAST_OPENSSL_CLIENT = 1 -LAST_OPENSSL_SERVER = 1 -LAST_PLAINTEXT_BUFFERED_CLIENT = 1 -LAST_PLAINTEXT_BUFFERED_SERVER = 1 -LAST_GNUTLS_BUFFERED_CLIENT = -LAST_GNUTLS_BUFFERED_SERVER = -LAST_OPENSSL_BUFFERED_CLIENT = 1 -LAST_OPENSSL_BUFFERED_SERVER = 1 +LAST_PLAINTEXT_NETWORK = 1 +LAST_GNUTLS_NETWORK = +LAST_OPENSSL_NETWORK = 1 +LAST_PLAINTEXT_BUFFERED_NETWORK = 1 +LAST_GNUTLS_BUFFERED_NETWORK = +LAST_OPENSSL_BUFFERED_NETWORK = 1 + +# CLIENT: Support connections from clients. (Not implemented yet.) +# SERVER: Support s2s connections. +LAST_CLIENT = +LAST_SERVER = 1 # The following control the server protocols compiled into HaxIRCd. # You should enable at least one of them. Note that InspIRCd v(n+1) is -- cgit v1.2.3