Victor created THRIFT-5799: ------------------------------ Summary: Alternative to TCP stream cloning Key: THRIFT-5799 URL: https://issues.apache.org/jira/browse/THRIFT-5799 Project: Thrift Issue Type: Request Components: Rust - Library Reporter: Victor
Thrift does not work on an ESP32 using esp-rs because the ESP-IDF framework does not support cloning TCP streams. It seems that the author of [dguerri/rust-thrift-tls|https://github.com/dguerri/rust-thrift-tls/tree/master?tab=readme-ov-file#apache-thrift-tls-with-mutual-authentication] had roughly the same issue and had to write their own transport layer because of Thrift relying on TCP stream cloning. I don't know whether this ticket fits as a bug or a request, or what the priority should be. But maybe Apache Thrift should provide a fallback mechanism / alternative transport for cases where cloning TCP streams is impossible? For example by providing an alternative to {{TTcpChannel}} which uses an {{Arc<Mutex<TcpStream>>}} instead. -- This message was sent by Atlassian Jira (v8.20.10#820010)