Skip to content

Commit

Permalink
httpd chunk size increased
Browse files Browse the repository at this point in the history
  • Loading branch information
sulincix committed Apr 7, 2024
1 parent b5bdc5f commit 6149ed4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/httpd.vala
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ private bool on_incoming_connection (SocketConnection conn) {
process_request.begin (conn);
return true;
}
private long BUFFER_LENGTH = 1024*512;
private long BUFFER_LENGTH = 1024*1024*5; // 5mb
async void process_request (SocketConnection conn) {
try {
var dis = new DataInputStream (conn.input_stream);
Expand Down

0 comments on commit 6149ed4

Please sign in to comment.