[tests] skip mod-secdownload HMAC-SHA1,HMAC-SHA256
[lighttpd.git] / src / settings.h
bloba28cf77547902463459a67ec539e7d94075cc9e5
1 #ifndef _LIGHTTPD_SETTINGS_H_
2 #define _LIGHTTPD_SETTINGS_H_
3 #include "first.h"
5 #define FILE_CACHE_MAX 16
7 /**
8 * max size of a buffer which will just be reset
9 * to ->used = 0 instead of really freeing the buffer
11 * 64kB (no real reason, just a guess)
13 #define BUFFER_MAX_REUSE_SIZE (4 * 1024)
15 /* both should be way smaller than SSIZE_MAX :) */
16 #define MAX_READ_LIMIT (256*1024)
17 #define MAX_WRITE_LIMIT (256*1024)
19 /**
20 * max size of the HTTP request header
22 * 32k should be enough for everything (just a guess)
25 #define MAX_HTTP_REQUEST_HEADER (32 * 1024)
27 #define HTTP_LINGER_TIMEOUT 5
29 #endif