Network error when download file form server

I want to download a file(74 MB) from my server. At first, the browser downloads well. After several seconds, it immediately stops and the browser shows ‘Network Error’. I have tried in Chrome and IE, neither of them can download successfully. Caddy’s log says nothing about that. And websites on my server runs well at the same time.
I am using Caddy 0.9.5 on Fedora 25.

Try disabling timeouts, if you’re serving large downloads, you should increase or disable the timeouts.

timeouts none

Yeah, that works.
But the document says that timeouts will be applied to all sites. I just want to specify the timeout to only one site, how can I do that?

You can’t. That’s a limitation of the Go standard library and there is an open issue about it I am tracking.

Ok. Anyway, thanks very much :grin:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.