SPDY/HTTP2 Profile Impact on Variable Use
When using SPDY/HTTP2 profile, TCL variables set before the HTTP_REQUEST event are not carried over to further events. This is by design as the current iRule/TCL implementation is not capable of hand...
Published Dec 19, 2016
Version 1.0JRahm
Admin
Joined January 20, 2005
JRahm
Admin
Joined January 20, 2005
Kai_Wilke
Dec 21, 2016MVP
Hi Jason,
how about using
static::variables
to store those information? Should be slightly more friendly to CMP, isn't it?
when CLIENT_ACCEPTED {
set static::(DefPool_[virtual]) [LB::server pool]
}
when HTTP_REQUEST {
log local0. "POOL: |$static::(DefPool_[virtual])|"
}
Can you hand out some additional information how HTTP/2 request are processed by the TCP runtime environment? Are those HTTP/2 requests handled as a child stackframe
([info level] = 3
) of the TCP connection ([info level] = 2
)? If a child stackframe is used, can [uplevel]
/ [upvar]
be used to access the TCP connection variables?
Cheers, Kai