blob: a28cf77547902463459a67ec539e7d94075cc9e5 (
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
|
#ifndef _LIGHTTPD_SETTINGS_H_
#define _LIGHTTPD_SETTINGS_H_
#include "first.h"
#define FILE_CACHE_MAX 16
/**
* max size of a buffer which will just be reset
* to ->used = 0 instead of really freeing the buffer
*
* 64kB (no real reason, just a guess)
*/
#define BUFFER_MAX_REUSE_SIZE (4 * 1024)
/* both should be way smaller than SSIZE_MAX :) */
#define MAX_READ_LIMIT (256*1024)
#define MAX_WRITE_LIMIT (256*1024)
/**
* max size of the HTTP request header
*
* 32k should be enough for everything (just a guess)
*
*/
#define MAX_HTTP_REQUEST_HEADER (32 * 1024)
#define HTTP_LINGER_TIMEOUT 5
#endif
|