WordPress.org

WordPress MU

Opened 5 years ago

Closed 5 years ago

Last modified 4 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:
Cc:

Description

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 donncha5 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 donncha5 years ago

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

comment:3 frumph5 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 donncha5 years ago

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

ok, closing.

comment:5 Rage000015 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 Rage000015 years ago

OOOPS...

Wrong ticket.. SORRY.. pease delete

comment:7 jamescollins4 years ago

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