
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
|