aboutsummaryrefslogtreecommitdiffstats
path: root/community/greenbone-security-assistant/musl-stack-size.patch
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2019-04-06 17:19:12 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2019-04-06 17:19:57 +0000
commit5bf0033dd58b6f68cce10b6b6ada70a4b49d9e89 (patch)
tree557efec094fd7250435b32a23d8bb9a8e4d553ab /community/greenbone-security-assistant/musl-stack-size.patch
parent83c5ff0113bd632fa336d994626c52a32a987d4a (diff)
downloadaports-5bf0033dd58b6f68cce10b6b6ada70a4b49d9e89.tar.bz2
aports-5bf0033dd58b6f68cce10b6b6ada70a4b49d9e89.tar.xz
community/greenbone-security-assistant: upgrade to 8.0.0
Removed unused patches
Diffstat (limited to 'community/greenbone-security-assistant/musl-stack-size.patch')
-rw-r--r--community/greenbone-security-assistant/musl-stack-size.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/greenbone-security-assistant/musl-stack-size.patch b/community/greenbone-security-assistant/musl-stack-size.patch
new file mode 100644
index 0000000000..8a64f23557
--- /dev/null
+++ b/community/greenbone-security-assistant/musl-stack-size.patch
@@ -0,0 +1,28 @@
+diff --git a/gsad/src/gsad.c b/gsad/src/gsad.c
+index efdecfc..7d7e13d 100644
+--- a/gsad/src/gsad.c
++++ b/gsad/src/gsad.c
+@@ -2598,6 +2598,7 @@ start_unix_http_daemon (const char *unix_socket_path,
+ 0, NULL, NULL, handler, http_handlers, MHD_OPTION_NOTIFY_COMPLETED,
+ free_resources, NULL, MHD_OPTION_LISTEN_SOCKET, unix_socket,
+ MHD_OPTION_PER_IP_CONNECTION_LIMIT, get_per_ip_connection_limit (),
++ MHD_OPTION_THREAD_STACK_SIZE, (size_t) 4*1024*1024,
+ MHD_OPTION_EXTERNAL_LOGGER, mhd_logger, NULL, MHD_OPTION_END);
+ }
+
+@@ -2626,6 +2627,7 @@ start_http_daemon (int port,
+ port, NULL, NULL, handler, http_handlers, MHD_OPTION_NOTIFY_COMPLETED,
+ free_resources, NULL, MHD_OPTION_SOCK_ADDR, address,
+ MHD_OPTION_PER_IP_CONNECTION_LIMIT, get_per_ip_connection_limit (),
++ MHD_OPTION_THREAD_STACK_SIZE, (size_t) 4*1024*1024,
+ MHD_OPTION_EXTERNAL_LOGGER, mhd_logger, NULL, MHD_OPTION_END);
+ }
+
+@@ -2653,6 +2655,7 @@ start_https_daemon (int port, const char *key, const char *cert,
+ key, MHD_OPTION_HTTPS_MEM_CERT, cert, MHD_OPTION_NOTIFY_COMPLETED,
+ free_resources, NULL, MHD_OPTION_SOCK_ADDR, address,
+ MHD_OPTION_PER_IP_CONNECTION_LIMIT, get_per_ip_connection_limit (),
++ MHD_OPTION_THREAD_STACK_SIZE, (size_t) 4*1024*1024,
+ MHD_OPTION_HTTPS_PRIORITIES, priorities, MHD_OPTION_EXTERNAL_LOGGER,
+ mhd_logger, NULL,
+ /* LibmicroHTTPD 0.9.35 and higher. */