1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-08 13:23:12 +02:00

Add some temporary safety mechanism if too many HTTP(S) requests in progress.

Will allow tweaking in config later. This is separate from rate-limit btw,
which also still needs to be done.
This commit is contained in:
Bram Matthys
2023-07-09 13:20:26 +02:00
parent 93ea44680f
commit 3250c7c0b4
4 changed files with 38 additions and 0 deletions
+1
View File
@@ -1392,6 +1392,7 @@ extern void url_start_async(const char *url, HttpMethod http_method, const char
extern void url_init(void);
extern void url_cancel_handle_by_callback_data(void *ptr);
extern EVENT(url_socket_timeout);
extern int downloads_in_progress(void);
/* end of url stuff */
extern char *collapse(char *pattern);
extern void clear_scache_hash_table(void);