Bug #17204

Updated by Tom Clegg about 1 year ago

While handling a conditional request that results in a 304 Not Modified response, keep-web logs this error:

<pre>
"stat.Size()==3299929 but only wrote 0 bytes; read(1024) returns 1024, %!s(<nil>)"
</pre>

We should
# use @%v@ %v instead of @%s@ %s so a nil error is just @"nil"@ "nil" instead of @"%!s(<nil>)"@ "%!s(<nil>)"
# not log this error if the response code is 304

Back