mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Merge branch 'master' of bitbucket.org:ritt/elog
This commit is contained in:
commit
4641f5aad4
@ -8491,7 +8491,6 @@ void send_file_direct(char *file_name) {
|
|||||||
else
|
else
|
||||||
rsprintf("%s%c%s", dir, DIR_SEPARATOR, encodedname);
|
rsprintf("%s%c%s", dir, DIR_SEPARATOR, encodedname);
|
||||||
rsprintf("</b> was not found on this server<p>\r\n");
|
rsprintf("</b> was not found on this server<p>\r\n");
|
||||||
rsprintf("<hr><address>ELOG version %s</address></body></html>\r\n\r\n", VERSION);
|
|
||||||
return_length = strlen_retbuf;
|
return_length = strlen_retbuf;
|
||||||
keep_alive = FALSE;
|
keep_alive = FALSE;
|
||||||
}
|
}
|
||||||
@ -30074,9 +30073,8 @@ void server_loop(void) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (net_buffer_size >= 100000000) {
|
if (net_buffer_size >= 1024*1024*1024) {
|
||||||
sprintf(str,
|
sprintf(str, "Error: Request extends 1 GB, dropped");
|
||||||
"Error: Request extends 100 MB, dropped");
|
|
||||||
show_error(str);
|
show_error(str);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user