boris-sinyapkin / lurk

Lightweight implementation of a SOCKS5 proxy built on async Rust
0 stars 0 forks source link

Always use TCP factory to create or accept any TCP connections #25

Open boris-sinyapkin opened 6 months ago

boris-sinyapkin commented 6 months ago

E.g. on SOCKS5 connect, proxy creates TCP stream with endpoint. This should be done through factory to honour backpressure logic and for the unification.

All connections created by proxy should go through the factory.