envoy: Golang network filter missing functions

I’m experimenting with the new golang network filter in v1.27.0 and I noticed that native C++ filters are exposed to more functions than what the golang filter is exposing. for instance, the ConnectionCallback interface: https://github.com/envoyproxy/envoy/blob/f17f1fdd644cc4b32f65579184757e3975843db6/contrib/golang/common/go/api/filter.go#L176-L183 exposes 3 methods, but from what it looks like the connection callback should have more methods such as requestedServerName() to retreive the SNI of the requested server and so on…

so, am I missing something? or is there a plan to add any missing methods to the connection callback later on?

About this issue

  • Original URL
  • State: open
  • Created 10 months ago
  • Comments: 17 (8 by maintainers)

Most upvoted comments

Thanks @doujiang24 for the reply! I hope #29383 will be prioritized as I believe the above feature is desired by more people.

Have a good week!

Hello @or-adar and @BenAgai , here is the draft PR: https://github.com/envoyproxy/envoy/pull/29383

But I may not have enough time to finish it in short, welcome to continue it, or other better ways, if you are instersted it.