Commit eef3fb1608b2cfe9d1c8f4a682c9b7932c81709f

Authored by David RENE
1 parent 3a4071c4

--no commit message

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
web/CXM_multihost_http_server.anubis
... ... @@ -2133,13 +2133,13 @@ define One
2133 2133 String filename // name of file
2134 2134 ) =
2135 2135 if sent >= size then unique else
2136   - if read(file,min(10000,size-sent),60) is
  2136 + if read(file,min(16384,size-sent),60) is
2137 2137 {
2138 2138 error then log_journal_msg(desc,"Cannot read from file '"+filename+"'.\n"),
2139 2139 timeout then log_journal_msg(desc,"Cannot read from file timeoput'"+filename+"'.\n"),
2140 2140 ok(ba) then
2141 2141 with nr = length(ba), // get the number of bytes read
2142   - if reliable_write(connection,ba) is
  2142 + if reliable_write(connection, ba) is
2143 2143 {
2144 2144 failure then log_journal_msg(desc,"Cannot write into connection delirering '"+filename+"' (sent="+sent+"; size="+size+"; current="+nr+").\n"),
2145 2145 success(nw) then
... ...