Last active
October 17, 2019 02:05
-
-
Save jasonrahm/48c5407d313634017a91d13315946f35 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
when HTTP_REQUEST { | |
if { [catch \[HTTP2::version\] result] == 1 } { | |
if { $result contains "Operation not supported" } { | |
log local0. "HTTP version is: [HTTP::version]" | |
} else { | |
log local0. "HTTP version is 2" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment