From e1ac7cff5760a393bf6fd69c191462fa15de8dfdc068c12bf2df484ca6d18550 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 13 Apr 2015 12:18:25 +0000 Subject: [PATCH] Accepting request 295678 from home:msmeissn:branches:devel:libraries:c_c++ - updated to 0.9.40 - Fix potential deadlock issue in MHD_USE_THREAD_PER_CONNECTION mode if shutdown is initiated while connections are active. -CG - Fix issue in thread-pool mode where a MHD_stop_daemon() might not reach threads that stopped listening because we hit the maximum number of concurrent connections and the option MHD_USE_PIPE_FOR_SHUTDOWN was also not used. Testcase added as well. -CG - Update HTTPS testcases to avoid SSLv3, as SSLv3 is dead. - Do not enforce FD_SETSIZE-limit on worker control pipe when using MHD_USE_EPOLL_LINUX_ONLY (#3751). -MH/CG - Adding MHD_OPTION_NOTIFY_CONNECTION, MHD_CONNECTION_NOTIFY_STARTED, MHD_CONNECTION_NOTIFY_CLOSED and MHD_CONNECTION_INFO_SOCKET_CONTEXT to allow applications to trigger operations when TCP connections start or end, instead of just exposing HTTP requests starting and ending. -RG/CG - Fixing bug that prevented MHD_OPTION_HTTPS_MEM_DHPARAMS from working within a MHD_OPTION_ARRAY. -DD - Adding MHD_OPTION_HTTPS_KEY_PASSWORD as proposed by Andrew Basile. -CG/AB - Fix issue where for HTTP/1.0-clients that set Connection: Keep-Alive header a response of indefinite size was generated with chunked encoding. -CG - Fix potential infinite loop on shutdown in multi-threaded mode under certain conditions. -CG - fixed info deinstall OBS-URL: https://build.opensuse.org/request/show/295678 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmicrohttpd?expand=0&rev=41 --- libmicrohttpd-0.9.39.tar.gz | 3 --- libmicrohttpd-0.9.39.tar.gz.sig | Bin 543 -> 0 bytes libmicrohttpd-0.9.40.tar.gz | 3 +++ libmicrohttpd-0.9.40.tar.gz.sig | Bin 0 -> 543 bytes libmicrohttpd.changes | 40 ++++++++++++++++++++++++++++++++ libmicrohttpd.spec | 11 ++++----- 6 files changed, 48 insertions(+), 9 deletions(-) delete mode 100644 libmicrohttpd-0.9.39.tar.gz delete mode 100644 libmicrohttpd-0.9.39.tar.gz.sig create mode 100644 libmicrohttpd-0.9.40.tar.gz create mode 100644 libmicrohttpd-0.9.40.tar.gz.sig diff --git a/libmicrohttpd-0.9.39.tar.gz b/libmicrohttpd-0.9.39.tar.gz deleted file mode 100644 index e29bad1..0000000 --- a/libmicrohttpd-0.9.39.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4f937b6065c366d776be86b1d24b8fc400ebc7ea006a9d77c49a8f2f0cd7e373 -size 1205722 diff --git a/libmicrohttpd-0.9.39.tar.gz.sig b/libmicrohttpd-0.9.39.tar.gz.sig deleted file mode 100644 index ba12108066b9554863f47c5b3e02352d1a4681289897c94ab7db6390d5c52553..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 543 zcmV+)0^t3L0vrSY0RjL91p-u>)xZD>2@sQ>YvJOb!^|1_5B(Y*cojl807UblWPd;+ zjDxFQGlRQgk7##qwF$V3ck_V(`;D)7z?-6MVA|0(f9YlqQjaf84w+|xmGMP%eu9Ig zOQl}fO_Kf8gGezi`#s-^Dk!zP@;lXc;qEf*;29TM#29N4pH4G`Eh)DyRB&+ z_Rul#-0Dbo!>M<9!ui!MY62WiQH+RWRvID-KEpL^M!_(TxF%-Ijnd&3uWmueD}wSo zB$yb_Hm}$jrA9PY+g5C<7=dlq8(Qkd6>f%YvJOb!^|cO5B(ifFEk*C#B+`b%qB6C zCjZH?72K!-k=J1##9jfpF_@H>4!{L;C8E#=L-WXscW5t9SzYgmMgn`0`#FQrm?-!v z@~41dxkR?&(6Hr2P4@suAK7pY8S9^=XB&MJt0Fs#Ci9fNM`~h4A9>p~0)eWfug68A zKRqB{D8}DO+Rv^EiJy<*LI&duKqfFnkv@-_Ie1$j2?L``sctEC!O^&2h|(k;L0Bs> z?~vR8f4WK1=hY=YQ;}k7Vm*uNoCVbAzIGuTQFrJ>vPW>2i%O+%=_dmgh{g{#-I&P{l7hsMCmqIufF;3hm{T}>^mMHPmkk~n%E+0&*Qby<1Ydr-W1pK%kRkp)) z62qiX(s~27S-~Q6e%G#Xi3$4Tg$Q?krr^70j`8tH#r&f1svH61b0>+V&?aXFC<>!u z9J|8jS#%b1l<*ZIbG@~z*X^4`Wxiy(9yeu=pL2|ER+c!{ZS}h9#OU`}l08EjJF&9M^Z-DzH6D hN_uV^(t5Bhd2jEDO$+jAyf|7-h-cGe0i#aY?Fs*&{Zs$| literal 0 HcmV?d00001 diff --git a/libmicrohttpd.changes b/libmicrohttpd.changes index 2911850..3555f7f 100644 --- a/libmicrohttpd.changes +++ b/libmicrohttpd.changes @@ -1,3 +1,43 @@ +------------------------------------------------------------------- +Mon Apr 13 11:39:23 UTC 2015 - meissner@suse.com + +- updated to 0.9.40 + - Fix potential deadlock issue in MHD_USE_THREAD_PER_CONNECTION + mode if shutdown is initiated while connections are active. -CG + + - Fix issue in thread-pool mode where a MHD_stop_daemon() + might not reach threads that stopped listening because + we hit the maximum number of concurrent connections and + the option MHD_USE_PIPE_FOR_SHUTDOWN was also not used. + Testcase added as well. -CG + + - Update HTTPS testcases to avoid SSLv3, as SSLv3 is dead. + + - Do not enforce FD_SETSIZE-limit on worker control + pipe when using MHD_USE_EPOLL_LINUX_ONLY (#3751). -MH/CG + + - Adding MHD_OPTION_NOTIFY_CONNECTION, + MHD_CONNECTION_NOTIFY_STARTED, + MHD_CONNECTION_NOTIFY_CLOSED and + MHD_CONNECTION_INFO_SOCKET_CONTEXT to allow + applications to trigger operations when TCP + connections start or end, instead of just + exposing HTTP requests starting and ending. -RG/CG + + - Fixing bug that prevented MHD_OPTION_HTTPS_MEM_DHPARAMS + from working within a MHD_OPTION_ARRAY. -DD + + - Adding MHD_OPTION_HTTPS_KEY_PASSWORD as proposed by + Andrew Basile. -CG/AB + + - Fix issue where for HTTP/1.0-clients that set + Connection: Keep-Alive header a response of + indefinite size was generated with chunked encoding. -CG + + - Fix potential infinite loop on shutdown in multi-threaded mode + under certain conditions. -CG +- fixed info deinstall + ------------------------------------------------------------------- Thu Jan 8 08:48:47 UTC 2015 - meissner@suse.com diff --git a/libmicrohttpd.spec b/libmicrohttpd.spec index bc8e559..737b24d 100644 --- a/libmicrohttpd.spec +++ b/libmicrohttpd.spec @@ -1,7 +1,7 @@ # # spec file for package libmicrohttpd # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2010,2011,2012 Stephan Kleine # # All modifications and additions to the file contributed by third parties @@ -20,7 +20,7 @@ %global libmicrohttpd libmicrohttpd10 %global libmicrospdy libmicrospdy0 Name: libmicrohttpd -Version: 0.9.39 +Version: 0.9.40 Release: 0 Summary: Small Embeddable HTTP Server Library License: LGPL-2.1+ @@ -94,7 +94,7 @@ Summary: Small Embeddable HTTP Server Library Group: Development/Libraries/C and C++ Requires: %{libmicrohttpd} = %{version} Requires(post): info -Requires(postun): info +Requires(preun): info %description devel Headers, pkg-config files, so link and other development files for %{name} @@ -140,7 +140,7 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags} find %{buildroot} -type f -name "*.la" -delete -print %check -make -d -j1 check +make -j1 check %post -n %{libmicrohttpd} -p /sbin/ldconfig @@ -151,11 +151,10 @@ make -d -j1 check %postun -n %{libmicrospdy} -p /sbin/ldconfig %post devel - %install_info --info-dir=%{_infodir} %{_infodir}/libmicrohttpd.info%{ext_info} %install_info --info-dir=%{_infodir} %{_infodir}/libmicrohttpd-tutorial.info%{ext_info} -%postun devel +%preun devel %install_info_delete --info-dir=%{_infodir} %{_infodir}/libmicrohttpd.info%{ext_info} %install_info_delete --info-dir=%{_infodir} %{_infodir}/libmicrohttpd-tutorial.info%{ext_info}