- Use SSL_MODE_RELEASE_BUFFERS if available, accepted in upstream as commit 3d919440c80333c496fb OBS-URL: https://build.opensuse.org/request/show/78841 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=53
14 lines
403 B
Diff
14 lines
403 B
Diff
--- lib/ssluse.c.orig
|
|
+++ lib/ssluse.c
|
|
@@ -1492,6 +1492,10 @@ ossl_connect_step1(struct connectdata *c
|
|
return CURLE_OUT_OF_MEMORY;
|
|
}
|
|
|
|
+#ifdef SSL_MODE_RELEASE_BUFFERS
|
|
+ SSL_CTX_set_mode(connssl->ctx, SSL_MODE_RELEASE_BUFFERS);
|
|
+#endif
|
|
+
|
|
#ifdef SSL_CTRL_SET_MSG_CALLBACK
|
|
if(data->set.fdebug && data->set.verbose) {
|
|
/* the SSL trace callback is only used for verbose logging so we only
|