Merge branch 'master' of bitbucket.org:ritt/elog

This commit is contained in:
2020-08-10 08:45:53 +02:00
+2 -4
View File
@@ -8491,7 +8491,6 @@ void send_file_direct(char *file_name) {
else
rsprintf("%s%c%s", dir, DIR_SEPARATOR, encodedname);
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;
keep_alive = FALSE;
}
@@ -30074,9 +30073,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;
}