WordPress MU

Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#1078 closed defect (fixed)

blogs.php sending Content-Length wrong

Reported by: frumph Owned by: donncha
Milestone: Priority: lowest
Severity: trivial Version: 2.8.3
Component: component1 Keywords:


Line 85: @header( 'Content-Length: ' . filesize( $file ) );

This is ending out the pre-compressed content-lenght while webservers like iis7 send files gzipped / compressed.

So when the end user receives the file the browser keeps thinking there is more and locks up.

Change History (7)

#1 @donncha
9 years ago

  • Owner changed from somebody to donncha
  • Status changed from new to assigned

Suggestions for a fix welcome. I don't have IIS7. I'll disable that header as a start if IIS webserver used but that doesn't seem like a good permanent solution.

#2 @donncha
9 years ago

In [1916] I turn off this header on IIS servers. Not closing this ticket however.

#3 @frumph
9 years ago

I would say that *is* the fix since there's no way to predetermine the length after the webserver sends it out.

#4 @donncha
9 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

ok, closing.

#5 @Rage00001
9 years ago

  • Priority changed from high to lowest
  • Severity changed from major to trivial

Hi guys...

frumph reply did solve my problem, just not as you normally wold expect..

The file blgs.php was actually missing on my server, and that's why this didn't work as it should.

I'm very sorry for the time spent on thisand thank you all for all help

#6 @Rage00001
9 years ago


Wrong ticket.. SORRY.. pease delete

#7 @jamescollins
8 years ago

  • Version changed from 2.8.2 to 2.8.3
Note: See TracTickets for help on using tickets.