dnsproxy
dnsproxy copied to clipboard
dnsproxy code refactoring
- [ ] Add
Cleanup()method to theUpstreaminterface. It is necessary to clean up resources (connections) sometimes. - [ ] Use this
Cleanup()method on proxy shutdown. - [ ] Rework the
TLSPool, we should be able to limit the maximum pool size.