Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Varnish: Bugs

#1029: ESI mixes compressed and noncompressed output

 

 

Varnish bugs RSS feed   Index | Next | Previous | View Threaded


varnish-bugs at varnish-cache

Oct 7, 2011, 6:19 AM

Post #1 of 7 (349 views)
Permalink
#1029: ESI mixes compressed and noncompressed output

#1029: ESI mixes compressed and noncompressed output
--------------------+-------------------------------------------------------
Reporter: sthing | Type: defect
Status: new | Priority: normal
Milestone: | Component: varnishd
Version: 3.0.1 | Severity: normal
Keywords: |
--------------------+-------------------------------------------------------
I normally have gzip compression on html served by apache.
Today I disabled gzip compression when debugging a client side problem.

When I reloaded my page the requested URL was refetched from the server,
and the ESI-page was taken from cache.
Varnish delivered a page with the outer HTML non-compressed but the ESI-
part compressed.

Source files, result, lines from varnishlog and tcpdump attached.

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1029>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs


varnish-bugs at varnish-cache

Oct 10, 2011, 3:10 AM

Post #2 of 7 (336 views)
Permalink
Re: #1029: ESI mixes compressed and noncompressed output [In reply to]

#1029: ESI mixes compressed and noncompressed output
----------------------+-----------------------------------------------------
Reporter: sthing | Owner: lkarsten
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: 3.0.1
Severity: normal | Keywords:
----------------------+-----------------------------------------------------
Changes (by lkarsten):

* owner: => lkarsten


--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1029#comment:1>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs


varnish-bugs at varnish-cache

Oct 10, 2011, 6:09 AM

Post #3 of 7 (335 views)
Permalink
Re: #1029: ESI mixes compressed and noncompressed output [In reply to]

#1029: ESI mixes compressed and noncompressed output
----------------------+-----------------------------------------------------
Reporter: sthing | Owner: lkarsten
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: trunk
Severity: normal | Keywords:
----------------------+-----------------------------------------------------
Changes (by lkarsten):

* version: 3.0.1 => trunk


Comment:

I am able to reproduce this bug on (varnish-3.0.0 revision cbf1284)
and on trunk (7a0dc3f).

root [at] imme:~# a2enmod deflate; service apache2 restart;
lkarsten [at] imme:~$ GET -Used -H "Accept-Encoding: gzip"
http://localhost:81/1029/esi.html
root [at] imme:~# a2dismod deflate; service apache2 restart;

# gives part plaintext, part gziped response, without Content-Encoding
header.
lkarsten [at] imme:~$ GET -H "Accept-Encoding: gzip" -Use
http://localhost:81/1029/main.html

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1029#comment:2>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs


varnish-bugs at varnish-cache

Oct 17, 2011, 5:23 AM

Post #4 of 7 (309 views)
Permalink
Re: #1029: ESI mixes compressed and noncompressed output [In reply to]

#1029: ESI mixes compressed and noncompressed output
----------------------+-----------------------------------------------------
Reporter: sthing | Owner: lkarsten
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: trunk
Severity: normal | Keywords:
----------------------+-----------------------------------------------------

Comment(by kristian):

This really does sound like a dupe of #899.

This should also be avoidable if you use beresp.do_gzip, which means
Varnish will compress the content regardless of what apache says.

I'm leaving it open for now, as I'm not entirely satisfied with the
"solution" in #899 and want a discussion first.

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1029#comment:3>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs


varnish-bugs at varnish-cache

Nov 1, 2011, 3:49 AM

Post #5 of 7 (271 views)
Permalink
Re: #1029: ESI mixes compressed and noncompressed output [In reply to]

#1029: ESI mixes compressed and noncompressed output
----------------------+-----------------------------------------------------
Reporter: sthing | Owner: lkarsten
Type: defect | Status: closed
Priority: normal | Milestone:
Component: varnishd | Version: trunk
Severity: normal | Resolution: fixed
Keywords: |
----------------------+-----------------------------------------------------
Changes (by Poul-Henning Kamp <phk@…>):

* status: new => closed
* resolution: => fixed


Comment:

(In [374c3a235fec63ee4f213696fc43731fd329ac2e]) Add a missing case: ESI
parent document gunzip'ed but included
document gzip'ed.

Fixes #1029

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1029#comment:4>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs


varnish-bugs at varnish-cache

Nov 1, 2011, 3:52 AM

Post #6 of 7 (272 views)
Permalink
Re: #1029: ESI mixes compressed and noncompressed output [In reply to]

#1029: ESI mixes compressed and noncompressed output
----------------------+-----------------------------------------------------
Reporter: sthing | Owner: lkarsten
Type: defect | Status: closed
Priority: normal | Milestone:
Component: varnishd | Version: trunk
Severity: normal | Resolution: fixed
Keywords: |
----------------------+-----------------------------------------------------

Comment(by phk):

My apologies for misunderstanding what this ticket was about.

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1029#comment:5>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs


varnish-bugs at varnish-cache

Nov 1, 2011, 5:02 AM

Post #7 of 7 (270 views)
Permalink
Re: #1029: ESI mixes compressed and noncompressed output [In reply to]

#1029: ESI mixes compressed and noncompressed output
----------------------+-----------------------------------------------------
Reporter: sthing | Owner: lkarsten
Type: defect | Status: closed
Priority: normal | Milestone:
Component: varnishd | Version: trunk
Severity: normal | Resolution: fixed
Keywords: |
----------------------+-----------------------------------------------------

Comment(by sthing):

Thanks!

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1029#comment:6>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs

Varnish bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.