Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

chrome Failed - Network Error

I have an ASP.NET application Hosted on server 2008. Recently After latest chrome update to 53.0.2785.116m All of my downloads from server get fail. I tested chrome version 52, firefox and IE! all of them work. Any idea for this problem?

enter image description here

like image 318
Hamid Fathi Avatar asked Sep 24 '16 14:09

Hamid Fathi


1 Answers

Finally I find the solution. web servers by default set the "content-length" in header and also most of the browser auto correct the file size if its wrong. in new version of google chrome (v53) the auto correct doesn't work. And at the end I had to set "content-length" property in HTTP Context while flushing the file to client.

like image 199
Hamid Fathi Avatar answered Nov 20 '22 03:11

Hamid Fathi