Commit f537411
committed
fix handling of 0 size files
Resolves this error:
{"time":"2025-06-10T16:20:12.995795959-07:00","level":"INFO","msg":"http: panic serving 127.0.0.1:46858: n must be positive number\ngoroutine 20 [running]:\nnet/http.(*conn).serve.func1()\n\t/home/jhoblitt/sdk/go1.24.3/src/net/http/server.go:1947 +0xbe\npanic
...1 parent 113f7e4 commit f537411
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
348 | | - | |
| 348 | + | |
| 349 | + | |
349 | 350 | | |
350 | 351 | | |
351 | 352 | | |
| |||
0 commit comments