Wed, 07 Jun 2023 15:59:00 +0200
fix uninitialized memory in http stream, when chunked transfer encoding is used
40 | 1 | # |
2 | # server.conf | |
3 | # | |
4 | ||
257
bfeb015c98a4
update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
45
diff
changeset
|
5 | Runtime |
bfeb015c98a4
update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
45
diff
changeset
|
6 | { |
40 | 7 | Temp /tmp/webserver-rw6pgl8b/ |
8 | User webservd | |
9 | MimeFile mime.types | |
257
bfeb015c98a4
update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
45
diff
changeset
|
10 | } |
40 | 11 | |
257
bfeb015c98a4
update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
45
diff
changeset
|
12 | LogFile |
bfeb015c98a4
update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
45
diff
changeset
|
13 | { |
40 | 14 | File logs/errors |
15 | Level INFO | |
257
bfeb015c98a4
update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
45
diff
changeset
|
16 | } |
40 | 17 | |
257
bfeb015c98a4
update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
45
diff
changeset
|
18 | AccessLog |
bfeb015c98a4
update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
45
diff
changeset
|
19 | { |
45
a24aa388f02f
added access log
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
40
diff
changeset
|
20 | File logs/access |
257
bfeb015c98a4
update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
45
diff
changeset
|
21 | } |
45
a24aa388f02f
added access log
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
40
diff
changeset
|
22 | |
257
bfeb015c98a4
update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
45
diff
changeset
|
23 | EventHandler |
bfeb015c98a4
update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
45
diff
changeset
|
24 | { |
40 | 25 | Name default |
26 | Threads 1 | |
27 | Default true | |
257
bfeb015c98a4
update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
45
diff
changeset
|
28 | } |
40 | 29 | |
257
bfeb015c98a4
update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
45
diff
changeset
|
30 | Threadpool |
bfeb015c98a4
update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
45
diff
changeset
|
31 | { |
40 | 32 | Name default |
33 | MinThreads 4 | |
34 | MaxThreads 32 | |
257
bfeb015c98a4
update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
45
diff
changeset
|
35 | } |
40 | 36 | |
257
bfeb015c98a4
update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
45
diff
changeset
|
37 | Listener |
bfeb015c98a4
update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
45
diff
changeset
|
38 | { |
40 | 39 | Name http-listener-1 |
40 | Port 9090 | |
41 | DefaultVS %%WS_HOST%% | |
257
bfeb015c98a4
update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
45
diff
changeset
|
42 | } |
40 | 43 | |
257
bfeb015c98a4
update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
45
diff
changeset
|
44 | Listener |
bfeb015c98a4
update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
45
diff
changeset
|
45 | { |
40 | 46 | Name http-listener-2 |
47 | Port 9091 | |
48 | DefaultVS %%WS_HOST%% | |
257
bfeb015c98a4
update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
45
diff
changeset
|
49 | } |
40 | 50 | |
257
bfeb015c98a4
update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
45
diff
changeset
|
51 | VirtualServer |
bfeb015c98a4
update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
45
diff
changeset
|
52 | { |
40 | 53 | Name %%WS_HOST%% |
54 | Host %%WS_HOST%% | |
55 | Listener http-listener-1 | |
56 | Listener http-listener-2 | |
57 | ObjectFile obj.conf | |
58 | ACLFile acl.conf | |
59 | DAVFile dav.conf | |
60 | DocRoot docs/ | |
257
bfeb015c98a4
update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
45
diff
changeset
|
61 | } |
40 | 62 | |
63 | ||
257
bfeb015c98a4
update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
45
diff
changeset
|
64 | |
bfeb015c98a4
update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
45
diff
changeset
|
65 | |
bfeb015c98a4
update server.template to new file format
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
45
diff
changeset
|
66 |