Commit 69483e43 authored by Nils Goroll's avatar Nils Goroll Committed by Martin Blix Grydeland

Try to make the proxy code session workspace overflow test on 32bit

Ref varnishcache/varnish-cache#3145 / 287dc4a6

(cherry picked from commit e1a57eb7)
parent 88348095
...@@ -249,10 +249,16 @@ delay 1 ...@@ -249,10 +249,16 @@ delay 1
varnish v1 -expect ws_session_overflow == 1 varnish v1 -expect ws_session_overflow == 1
# error handling elsewhere in the proxy code # workspace overflow handling elsewhere in the proxy code
# request is the same as initial #
# the workspace_session size is chosen to fail as closely as possible
varnish v1 -cliok "param.set workspace_session 450" # below the minimum required value for the vtc to work (= the
# workspace to overflow) both on 64 and 32 bit.
#
# This value is fragile, ideally we would want something like
# vtc.alloc(-x), yet there is no vcl code being run before we parse
# proxy headers
varnish v1 -cliok "param.set workspace_session 410"
varnish v1 -cliok "param.set pool_sess 10,100,1" varnish v1 -cliok "param.set pool_sess 10,100,1"
delay 1 delay 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment