Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#1078 closed defect (fixed)

blogs.php sending Content-Length wrong

Reported by: frumph Owned by: donncha
Priority: lowest Milestone:
Component: component1 Version: 2.8.3
Severity: trivial 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 Changed 4 years ago by donncha

  • 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 Changed 4 years ago by donncha

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

comment:3 Changed 4 years ago by frumph

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

comment:4 Changed 4 years ago by donncha

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

ok, closing.

comment:5 Changed 4 years ago by Rage00001

  • 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 Changed 4 years ago by Rage00001

OOOPS...

Wrong ticket.. SORRY.. pease delete

comment:7 Changed 3 years ago by jamescollins

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