Open escoffier opened 2 months ago
TcpSocketOptions can set IPV6_V6ONLY only right now. In our use case, we would like to set IP_TRANSPARENT flag. Some other users may have needs to set socket options toos.
https://github.com/cloudflare/pingora/blob/0de54eb9071a9c4baccc6bad7acad11e9c54186f/pingora-core/src/listeners/l4.rs#L54-L61
provide more flag for TcpSocketOptions
TcpSocketOptions can set IPV6_V6ONLY only right now. In our use case, we would like to set IP_TRANSPARENT flag. Some other users may have needs to set socket options toos.
https://github.com/cloudflare/pingora/blob/0de54eb9071a9c4baccc6bad7acad11e9c54186f/pingora-core/src/listeners/l4.rs#L54-L61
Describe the solution you'd like
provide more flag for TcpSocketOptions