[Varnish] #1031: error 200 "long string" overflows obj.ws effectively unsetting obj.response which subsequently causes Bad Things

Varnish varnish-bugs at varnish-cache.org
Thu Oct 13 11:33:13 CEST 2011


#1031: error 200 "long string" overflows obj.ws effectively unsetting obj.response
which subsequently causes Bad Things
----------------------+-----------------------------------------------------
 Reporter:  kristian  |       Owner:       
     Type:  defect    |      Status:  new  
 Priority:  normal    |   Milestone:       
Component:  varnishd  |     Version:  trunk
 Severity:  normal    |    Keywords:       
----------------------+-----------------------------------------------------

Comment(by martin):

 I see in cnt_error() (cache_center.c) that for synthetic objects the
 object workspace is set statically to 1024 in the call to STV_NewObject.
 This value should perhaps be http_resp_size or some other parameter
 instead? 1k workspace in vcl_error seems a little tight.

 -Martin

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




More information about the varnish-bugs mailing list