summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorRobert Swiecki <robert@swiecki.net>2017-12-27 02:34:39 +0100
committerRobert Swiecki <robert@swiecki.net>2017-12-27 02:34:39 +0100
commit5ba24868a6a135e80f72b4fd73fcb0dda3c8ca75 (patch)
tree7ca84552d21fa782325d2d05c4a485e4a3529dd8 /examples
parent567d63bedcec5d1f99ac20b3b60ab68ddcc3f3c4 (diff)
downloadhonggfuzz-5ba24868a6a135e80f72b4fd73fcb0dda3c8ca75.tar.gz
examples/apache-httpd: updated configs
Diffstat (limited to 'examples')
-rw-r--r--examples/apache-httpd/httpd.conf.h116
-rw-r--r--examples/apache-httpd/httpd.conf.h227
2 files changed, 38 insertions, 5 deletions
diff --git a/examples/apache-httpd/httpd.conf.h1 b/examples/apache-httpd/httpd.conf.h1
index 89461eb7..9dc71496 100644
--- a/examples/apache-httpd/httpd.conf.h1
+++ b/examples/apache-httpd/httpd.conf.h1
@@ -7,6 +7,8 @@ Timeout 1
KeepAlive On
MaxKeepAliveRequests 1000
MaxConnectionsPerChild 0
+ServerLimit 20000
+MaxRequestWorkers 20000
ListenBacklog 1023
KeepAliveTimeout 5
HostnameLookups Off
@@ -15,6 +17,20 @@ LogLevel crit
Listen 127.0.0.1:8080
PidFile /tmp/apache-pid
Protocols http/1.1
+H2Direct On
+H2EarlyHints On
+H2Push On
+H2MaxSessionStreams 4096
+H2MinWorkers 128
+H2MaxWorkers 512
+H2ModernTLSOnly off
+H2PushDiarySize 4096
+H2SerializeHeaders on
+H2StreamMaxMemSize 524288
+H2TLSCoolDownSecs 0
+H2Upgrade On
+H2CopyFiles On
+MaxMemFree 1024
ServerTokens Full
TraceEnable on
ExtendedStatus On
diff --git a/examples/apache-httpd/httpd.conf.h2 b/examples/apache-httpd/httpd.conf.h2
index a107069e..646b8481 100644
--- a/examples/apache-httpd/httpd.conf.h2
+++ b/examples/apache-httpd/httpd.conf.h2
@@ -1,12 +1,14 @@
ServerRoot "/home/jagger/fuzz/apache/dist"
DocumentRoot "/home/jagger/fuzz/apache/dist/htdocs"
ServerName 127.0.0.1
-Timeout 1
CacheEnable socache /
#CacheSocache shmcb:/tmp/data
+Timeout 1
KeepAlive On
MaxKeepAliveRequests 1000
MaxConnectionsPerChild 0
+ServerLimit 20000
+MaxRequestWorkers 20000
ListenBacklog 1023
KeepAliveTimeout 5
HostnameLookups Off
@@ -15,6 +17,20 @@ LogLevel crit
Listen 127.0.0.1:8080
PidFile /tmp/apache-pid
Protocols h2c
+H2Direct On
+H2EarlyHints On
+H2Push On
+H2MaxSessionStreams 4096
+H2MinWorkers 128
+H2MaxWorkers 512
+H2ModernTLSOnly off
+H2PushDiarySize 4096
+H2SerializeHeaders on
+H2StreamMaxMemSize 524288
+H2TLSCoolDownSecs 0
+H2Upgrade On
+H2CopyFiles On
+MaxMemFree 1024
ServerTokens Full
TraceEnable on
ExtendedStatus On
@@ -37,6 +53,7 @@ Redirect "/abc" "/"
RedirectMatch "(.*)\.gif$" "/image/$1.jpg"
UseCanonicalPhysicalPort On
HttpProtocolOptions Unsafe LenientMethods Allow0.9
+DavLockDB /tmp/dav.lock
ProxyStatus On
ProxyVia On
Header set MyHeader "%D %t"
@@ -48,6 +65,10 @@ Header set Set-Cookie testcookie "expr=-z %{req:Cookie}"
<LocationMatch "/app/(?<NUMBER>[0-9]+)">
SetHandler "fcgi://localhost:8080/app_%{env:MATCH_NUMBER}"
</LocationMatch>
+<Directory /home/jagger/fuzz/apache/dist/htdocs>
+ Options All MultiViews
+ AllowOverride None
+</Directory>
<Directory /home/jagger/fuzz/apache/dist/htdocs/private>
DAV On
AuthType Basic
@@ -55,10 +76,6 @@ Header set Set-Cookie testcookie "expr=-z %{req:Cookie}"
Options All MultiViews
AllowOverride None
</Directory>
-<Directory /home/jagger/fuzz/apache/dist/htdocs>
- Options All MultiViews
- AllowOverride None
-</Directory>
<Directory /home/jagger/fuzz/apache/dist/cgi-bin>
Options All MultiViews
AllowOverride None