]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Fix some broken links 5283/head
authorAndrew Lewis <nerf@judo.za.org>
Tue, 7 Jan 2025 16:45:06 +0000 (18:45 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Tue, 7 Jan 2025 16:45:06 +0000 (18:45 +0200)
src/lua/lua_config.c
src/lua/lua_http.c

index 0b4d208b475ca1b0ae306c106ee6e1e720960b40..07ed58ad5c4e3ba602becd05c8772624eb61cee3 100644 (file)
@@ -73,7 +73,7 @@ LUA_FUNCTION_DEF(config, get_ucl);
 /***
  * @method rspamd_config:get_mempool()
  * Returns static configuration memory pool.
- * @return {mempool} [memory pool](mempool.md) object
+ * @return {mempool} [memory pool](rspamd_mempool.md) object
  */
 LUA_FUNCTION_DEF(config, get_mempool);
 /***
index 904f1cbbf4e1235402381cf0a9a3748c18d2baff..7e9e7b1df7d6761d355b5dc5233900b0e62a6403 100644 (file)
@@ -600,7 +600,7 @@ lua_http_push_headers(lua_State *L, struct rspamd_http_message *msg)
  * - `config`
  *
  * @param {string} url specifies URL for a request in the standard URI form (e.g. 'http://example.com/path')
- * @param {function} callback specifies callback function in format  `function (err_message, code, body, headers)` that is called on HTTP request completion. if this parameter is missing, the function performs "pseudo-synchronous" call (see [Synchronous and Asynchronous API overview](/doc/lua/sync_async.html#API-example-http-module)
+ * @param {function} callback specifies callback function in format  `function (err_message, code, body, headers)` that is called on HTTP request completion. if this parameter is missing, the function performs "pseudo-synchronous" call (see [Synchronous and Asynchronous API overview](/doc/developers/sync_async.html#API-example-http-module)
  * @param {task} task if called from symbol handler it is generally a good idea to use the common task objects: event base, DNS resolver and events session
  * @param {table} headers optional headers in form `[name='value', name='value']`
  * @param {string} mime_type MIME type of the HTTP content (for example, `text/html`)