From eef3fb1608b2cfe9d1c8f4a682c9b7932c81709f Mon Sep 17 00:00:00 2001 From: David RENE Date: Mon, 22 Oct 2012 10:17:29 +0000 Subject: [PATCH] --- web/CXM_multihost_http_server.anubis | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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