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