Forum Discussion
crodriguez
Ret. Employee
You might be able to use the HTTP2::active command in the iRule to determine if the client connected using HTTP/2 or not. For example:
when HTTP_REQUEST {
if { [HTTP2::active] } {
log local0. "Request from HTTP/2 client"
} else {
log local0. "Request from HTTP client"
}
}
You can find more information on HTTP2::active here. You can also check out the other HTTP2 commands here.
Pavan_Dhanushka
Sep 27, 2020Altostratus
@crodriguez Thanks for info. Let me try in my test VIP.