MCPcopy Index your code
hub / github.com/RustPython/RustPython / session_reused

Method session_reused

crates/stdlib/src/openssl.rs:3145–3149  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

3143
3144 #[pygetset]
3145 fn session_reused(&self) -> bool {
3146 // Use thread-local SSL pointer during handshake to avoid deadlock
3147 let ssl_ptr = get_ssl_ptr_for_context_change(&self.connection);
3148 unsafe { sys::SSL_session_reused(ssl_ptr) != 0 }
3149 }
3150
3151 #[pymethod]
3152 fn read(

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected