]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
rlm_rest no longer opens connectios at server start
authorNick Porter <nick@portercomputing.co.uk>
Wed, 7 Aug 2024 11:14:57 +0000 (12:14 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Wed, 7 Aug 2024 11:36:03 +0000 (12:36 +0100)
Since the move to async

raddb/mods-available/rest
src/modules/rlm_rest/rest.c

index a252763bb6d1c94f5f630ef6ae16d6479f51cff6..f3f9f266930dc80a562253697d8c02c14e61c6ad 100644 (file)
@@ -144,13 +144,7 @@ rest {
        }
 
        #
-       #  connect_uri:: It will open a connection to the server specified in `connect_uri`
-       #  to populate the connection cache, ready for the first request.
-       #
-       #  If you wish to disable this pre-caching and reachability check,
-       #  comment out the configuration item below.
-       #
-       #  WARNING: The server will not start if the server specified is unreachable.
+       #  connect_uri:: Base URI used to avoid repetition in sections below.
        #
        connect_uri = "http://127.0.0.1:9090/"
 
index 7030641a94a4646de27a4672e1281717cba569fe..5c9c465279d6eeb72570015af474c95d3f74a915 100644 (file)
@@ -249,11 +249,6 @@ static int _mod_conn_free(fr_curl_io_request_t *randle)
  * which hold the context data required for generating requests and parsing
  * responses.
  *
- * If instance->connect_uri is not NULL libcurl will attempt to open a
- * TCP socket to the server specified in the URI. This is done so that when the
- * socket is first used, there will already be a cached TCP connection to the
- * REST server associated with the curl handle.
- *
  * @see fr_pool_init
  * @see fr_pool_connection_create_t
  * @see connection.c