Refactor socket-proxying code to a lower level module

We have code that copies all data between a pair of sockets interactively. Right now it's duplicated in our PT code and in our SOCKS code. Soon, we'll want it for #738. We should refactor this to a lower level crate.

Possibly a tor-async-utils is in order?

Edited Jan 18, 2023 by Nick Mathewson
Assignee Loading
Time tracking Loading