WordPress MU

Opened 6 years ago

Closed 6 years ago

Last modified 6 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)

comment:1 @donncha6 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.

comment:2 @donncha6 years ago

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

comment:3 @frumph6 years ago

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

comment:4 @donncha6 years ago

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

ok, closing.

comment:5 @Rage000016 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

comment:6 @Rage000016 years ago


Wrong ticket.. SORRY.. pease delete

comment:7 @jamescollins6 years ago

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