mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-10 18:23:28 +00:00
Added note about changing 'max content length'
SVN revision: 1174
This commit is contained in:
parent
3071e2da7d
commit
b404ba6b78
@ -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
|
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
|
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
|
of attachments can be restricted. The server will then refuse to accept larger
|
||||||
attachments. The default is 10485760 (= 10 MB).<p>
|
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.<p>
|
||||||
|
|
||||||
</UL>
|
</UL>
|
||||||
|
|
||||||
|
|||||||
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$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
|
Revision 1.537 2005/01/17 16:14:51 midas
|
||||||
Implemented 'show attributes' and removed 'hidden attributes'
|
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)"),
|
("Error: Content length (%d) larger than maximum content length (%d)"),
|
||||||
content_length, _max_content_length);
|
content_length, _max_content_length);
|
||||||
strcat(str, "<br>");
|
strcat(str, "<br>");
|
||||||
strcat(str, loc("Please increase <b>\"Max content length\"</b> in config file and restart elogd"));
|
strcat(str, loc("Please increase <b>\"Max content length\"</b> in [global] part of config file and restart elogd"));
|
||||||
keep_alive = FALSE;
|
keep_alive = FALSE;
|
||||||
show_error(str);
|
show_error(str);
|
||||||
goto redir;
|
goto redir;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user