caddyserver / forwardproxy

Forward proxy plugin for the Caddy web server
Apache License 2.0
582 stars 218 forks source link

Would using tokio improve performance? #108

Closed Mygod closed 10 months ago

Mygod commented 10 months ago

This is just a question. I see that tokio has tokio::io::copy_bidirectional. Would this be better/more performant than the current dualStream/flushingIoCopy?

gaby commented 10 months ago

@Mygod isnt tokio Rust based? ForwardProxy uses Golang

Mygod commented 10 months ago

Ah yes. Ignore my brainfart.