Merge pull request #19372 from cotequeiroz/libgd
[feed/packages.git] / net / gatling / patches / 020-configure_features.patch
1 gatling: configure features
2
3 Disables SMB-support, as only deprecated SMBv1 is supported,
4 which most users wouldn't use anyway. Avoids potential
5 vulnerabilities.
6
7 Activates threaded opening: Thus gatling will open files in
8 threads to open kernel I/O scheduling opportunities.
9
10 Signed-off-by: Martin Hübner <martin.hubner@web.de>
11 --- a/gatling_features.h
12 +++ b/gatling_features.h
13 @@ -7,7 +7,7 @@
14
15 #define SUPPORT_SERVERSTATUS
16 // #define SUPPORT_DAV
17 -#define SUPPORT_SMB
18 +// #define SUPPORT_SMB
19 #define SUPPORT_FTP
20 #define SUPPORT_PROXY
21 /* #define DEBUG to enable more verbose debug messages for tracking fd
22 @@ -36,7 +36,7 @@
23 #define SUPPORT_FALLBACK_REDIR
24
25 /* open files in threads to open kernel I/O scheduling opportunities */
26 -#undef SUPPORT_THREADED_OPEN
27 +#define SUPPORT_THREADED_OPEN
28
29 /* try to divine MIME type by looking at content */
30 #define SUPPORT_MIMEMAGIC