You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
While it is possible to identify the type of protocol (H1/H2 etc) and whether TLS is used on a given request using c++ API in filters, Lua does not expose this. It would be useful to expose this information in Lua so that Lua filter can make some decisions.
The text was updated successfully, but these errors were encountered:
@ramaraochavali for my own education, while the type of protocol can be inferred from RequestInfo, how to check whether TLS is being used in current request?
Probably I could extend the RequestInfo wrapper here #3627 to return the protocol (e.g. the API maybe something like: request_handle:requestInfo():protocol()) but not sure about the flag for TLS.
Is it from StreamDecoderFilterCallbacks::connection()?
Description:
While it is possible to identify the type of protocol (H1/H2 etc) and whether TLS is used on a given request using c++ API in filters, Lua does not expose this. It would be useful to expose this information in Lua so that Lua filter can make some decisions.
The text was updated successfully, but these errors were encountered: