From b404ba6b78f7d733318acbe3295d80c27cb771d7 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Mon, 17 Jan 2005 20:01:33 +0000 Subject: [PATCH] Added note about changing 'max content length' SVN revision: 1174 --- doc/config.html | 3 ++- src/elogd.c | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/config.html b/doc/config.html index 53b90c20..9c952c65 100755 --- a/doc/config.html +++ b/doc/config.html @@ -704,7 +704,8 @@ This option restricts the size of attachments. When very large (>100MB) attachme are uploaded, the elogd server can be busy with this upload for a longer time and not respond to other requests during that time. To avoid this, the maximum size of attachments can be restricted. The server will then refuse to accept larger -attachments. The default is 10485760 (= 10 MB).

+attachments. The default is 10485760 (= 10 MB). This option has to be placed +into the [global] section and the elogd server has to be restarted after a change.

diff --git a/src/elogd.c b/src/elogd.c index d40de295..a360d563 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -6,6 +6,9 @@ Contents: Web server program for Electronic Logbook ELOG $Log$ + Revision 1.538 2005/01/17 20:01:33 midas + Added note about changing 'max content length' + Revision 1.537 2005/01/17 16:14:51 midas Implemented 'show attributes' and removed 'hidden attributes' @@ -20413,7 +20416,7 @@ void server_loop(void) ("Error: Content length (%d) larger than maximum content length (%d)"), content_length, _max_content_length); strcat(str, "
"); - strcat(str, loc("Please increase \"Max content length\" in config file and restart elogd")); + strcat(str, loc("Please increase \"Max content length\" in [global] part of config file and restart elogd")); keep_alive = FALSE; show_error(str); goto redir;