mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Increased max attachment size to 1 GByte
This commit is contained in:
parent
c76272a5af
commit
c3c960fafc
@ -30068,9 +30068,8 @@ void server_loop(void) {
|
||||
break;
|
||||
}
|
||||
|
||||
if (net_buffer_size >= 100000000) {
|
||||
sprintf(str,
|
||||
"Error: Request extends 100 MB, dropped");
|
||||
if (net_buffer_size >= 1024*1024*1024) {
|
||||
sprintf(str, "Error: Request extends 1 GB, dropped");
|
||||
show_error(str);
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user