diff --git a/web/CXM_multihost_http_server.anubis b/web/CXM_multihost_http_server.anubis index b4989c5..9724b87 100644 --- a/web/CXM_multihost_http_server.anubis +++ b/web/CXM_multihost_http_server.anubis @@ -2133,13 +2133,13 @@ define One String filename // name of file ) = if sent >= size then unique else - if read(file,min(10000,size-sent),60) is + if read(file,min(16384,size-sent),60) is { error then log_journal_msg(desc,"Cannot read from file '"+filename+"'.\n"), timeout then log_journal_msg(desc,"Cannot read from file timeoput'"+filename+"'.\n"), ok(ba) then with nr = length(ba), // get the number of bytes read - if reliable_write(connection,ba) is + if reliable_write(connection, ba) is { failure then log_journal_msg(desc,"Cannot write into connection delirering '"+filename+"' (sent="+sent+"; size="+size+"; current="+nr+").\n"), success(nw) then -- libgit2 0.21.4