Decided to write a basic TCP proxy using #rustlang and @asyncrs this weekend as an excuse to play with async/.await. Here’s the link so people can send me some feedback on how to make it better!https://github.com/papertigers/proxy-rs …
First impression: very nice and simple at the top level. I suspect there is a way to avoid all the byte copying using streams - but maybe not just yet?
-
-
As far as I understood, most of the copying happens because it wants to count the traffic. You could maybe find a stream abstraction for that, but I'm not sure if that's worth the effort.https://github.com/papertigers/proxy-rs/blob/master/src/proxy.rs#L44-L46 …
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.