diff options
Diffstat (limited to 'src/daemon/fileserver_example.c')
-rw-r--r-- | src/daemon/fileserver_example.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/daemon/fileserver_example.c b/src/daemon/fileserver_example.c index 7574cd20..85b154e3 100644 --- a/src/daemon/fileserver_example.c +++ b/src/daemon/fileserver_example.c | |||
@@ -73,8 +73,7 @@ ahc_echo (void *cls, | |||
73 | else | 73 | else |
74 | { | 74 | { |
75 | stat (&url[1], &buf); | 75 | stat (&url[1], &buf); |
76 | response = MHD_create_response_from_callback (buf.st_size, | 76 | response = MHD_create_response_from_callback (buf.st_size, 32 * 1024, /* 32k page size */ |
77 | 32 * 1024, /* 32k page size */ | ||
78 | &file_reader, | 77 | &file_reader, |
79 | file, | 78 | file, |
80 | (MHD_ContentReaderFreeCallback) | 79 | (MHD_ContentReaderFreeCallback) |