Comments (7)
This will probably be necessary for implementing high-performance HTTP/2.0.
from rust-openssl.
Doing this properly will be a bit tricky since OpenSSL doesn't expose the ability to bump an SSL
struct's refcount manually. I guess I could wrap it in an Arc
but that's a bit sad.
from rust-openssl.
I also just ran into this. I clone the TcpStreams to make a Request
and Response
that a handler can deal with, and found I can't do so if I use SslStreams instead.
from rust-openssl.
Ya, in Hyper we have to wrap the SslStream in Arc<Mutex>
, which is far from ideal. We could bug the OpenSSL guys to add that API.
from rust-openssl.
An Arc<Mutex>
wrapper means that writing and reading cannot be done in parallel. It would really have to be implemented at the level of this library in order to allow for parallel reading and writing.
from rust-openssl.
👍 I need this enhancement for the reasons stated by @retep998.
from rust-openssl.
Thanks! I'm excited for this change to be up on crates.io.
from rust-openssl.
Related Issues (20)
- May I ask if there is a switch that can turn off some OpenSSL functions that I cannot use HOT 3
- Is OpenSSL from_pem()/from_der() leaking memory? HOT 2
- cant find openssl directory on termux HOT 1
- Failure to find appropriate headers on Ubuntu 24.04 despite having `libssl-dev` installed HOT 3
- X509 X509_STORE_CTX_set_verify_cb support
- Help! The reqwest library depends on openssl, and when compiling Rust code that implements a network request, I'm encountering an openssl error. Urgent assistance needed! HOT 3
- cannot build the openssl-sys 0.9.101 dependency on FreeBSD 14
- Shouldn't be able to call `sign_oneshot` twice.
- Improve error checking for `X509_ext_get_d2i()` HOT 1
- openssl-sys can't find openssl@3 only when run remotely crosscompiling x86_64 on arm64 HOT 13
- Add bindings for RAND_seed() and RAND_add() to reseed random generator HOT 2
- Retire non-bindgen modes HOT 1
- Windows x86_64 host failed to compile aarch64-pc-windows-msvc HOT 1
- Cross Compilation on Windows for Android fails
- Question about plans for OpenSSL QUIC HOT 1
- Encrypt AES 256 CCM with 12 byte IV silently uses 7 byte IV HOT 1
- [SOLVED] undefined reference to `SSL_get_peer_certificate` (openssl-0.10.64) HOT 10
- macos --target x86_64-apple-darwin Build exception
- cargo build --target=aarch64-unknown-fuchsia HOT 1
- base64::decode_block fails silently on long values HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust-openssl.