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

Mailing List Archive: Varnish: Bugs

#1157: Returning pass in vcl_recv when doing streaming causes backend keepalive to fail ( "Stream Error" )

 

 

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


varnish-bugs at varnish-cache

Jun 18, 2012, 7:32 AM

Post #1 of 2 (145 views)
Permalink
#1157: Returning pass in vcl_recv when doing streaming causes backend keepalive to fail ( "Stream Error" )

#1157: Returning pass in vcl_recv when doing streaming causes backend keepalive to
fail ( "Stream Error" )
-------------------+--------------------------------------------------------
Reporter: tnt | Type: defect
Status: new | Priority: normal
Milestone: | Component: build
Version: 3.0.2 | Severity: normal
Keywords: |
-------------------+--------------------------------------------------------
If in a vcl_recv you return pass and you make use of streaming, the
varnishlog will report a "Stream Error".

I traced the issue to cnt_streambody that considers the lack of
sp->obj->objcore to be a "Stream Error" which is not the case.

Fix is attached (tested for > 1 week in prod. It fixed the issue and
didn't turn up any bad effects)

This doesn't happen in the git master because of the stream code rewrite,
but it does happen in 3.0.3 rc1 and I think it'd be useful to be fixed for
3.0.3.

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1157>
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

Jun 20, 2012, 4:59 AM

Post #2 of 2 (136 views)
Permalink
Re: #1157: Returning pass in vcl_recv when doing streaming causes backend keepalive to fail ( "Stream Error" ) [In reply to]

#1157: Returning pass in vcl_recv when doing streaming causes backend keepalive to
fail ( "Stream Error" )
---------------------+------------------------------------------------------
Reporter: tnt | Type: defect
Status: closed | Priority: normal
Milestone: | Component: build
Version: 3.0.2 | Severity: normal
Resolution: fixed | Keywords:
---------------------+------------------------------------------------------
Changes (by martin):

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


Comment:

Commit 8c821b77b3ecda5ced37a35ab64bddd1b7f1caf2 fixes this issue.

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1157#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 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.