Accepting request 78841 from home:elvigia:branches:devel:libraries:c_c++

- 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
This commit is contained in:
Ismail Dönmez 2011-08-15 07:26:53 +00:00 committed by Git OBS Bridge
parent ccaf6c774b
commit 4db92a5989
3 changed files with 21 additions and 2 deletions

View File

@ -0,0 +1,13 @@
--- 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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Aug 15 05:05:01 UTC 2011 - crrodriguez@opensuse.org
- Use SSL_MODE_RELEASE_BUFFERS if available, accepted
in upstream as commit 3d919440c80333c496fb
-------------------------------------------------------------------
Tue Jul 12 06:46:02 UTC 2011 - coolo@novell.com

View File

@ -52,7 +52,7 @@ Url: http://curl.haxx.se/
Source: curl-%version%{?cvs_suffix}.tar.lzma
Source2: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Patch: curl-openssl-release-buffers.patch
%description
Curl is a client to get documents and files from or send documents to a
server using any of the supported protocols (HTTP, HTTPS, FTP, FTPS,
@ -84,7 +84,7 @@ user interaction or any kind of interactivity.
%prep
%setup -q -n curl-%version%{?cvs_suffix}
%patch
%build
# local hack to make curl-config --libs stop printing libraries it depends on
# (currently, libtool sets link_all_deplibs=(yes|unknown) everywhere,