Skip to content
Snippets Groups Projects
Commit a085a0ab authored by Andy Green's avatar Andy Green
Browse files

v1.7.9

SONAME to 7.1 because of lws_snprintf()
parent 151aa809
No related branches found
No related tags found
No related merge requests found
...@@ -10,11 +10,11 @@ set(PACKAGE "libwebsockets") ...@@ -10,11 +10,11 @@ set(PACKAGE "libwebsockets")
set(CPACK_PACKAGE_NAME "${PACKAGE}") set(CPACK_PACKAGE_NAME "${PACKAGE}")
set(CPACK_PACKAGE_VERSION_MAJOR "1") set(CPACK_PACKAGE_VERSION_MAJOR "1")
set(CPACK_PACKAGE_VERSION_MINOR "7") set(CPACK_PACKAGE_VERSION_MINOR "7")
set(CPACK_PACKAGE_VERSION_PATCH "8") set(CPACK_PACKAGE_VERSION_PATCH "9")
set(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}") set(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
set(CPACK_PACKAGE_VENDOR "andy@warmcat.com") set(CPACK_PACKAGE_VENDOR "andy@warmcat.com")
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "${PACKAGE} ${PACKAGE_VERSION}") set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "${PACKAGE} ${PACKAGE_VERSION}")
set(SOVERSION "7") set(SOVERSION "7.1")
set(CPACK_SOURCE_GENERATOR "TGZ") set(CPACK_SOURCE_GENERATOR "TGZ")
set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}") set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}")
set(VERSION "${CPACK_PACKAGE_VERSION}") set(VERSION "${CPACK_PACKAGE_VERSION}")
......
Changelog Changelog
--------- ---------
v1.7.9
======
NB: lws_snprintf() added, but only used in library and test apps
SONAME bump to 7.1
Fixes:
1) Fix leak caused by undestroyed pthread mutex
2) Add CLIENT_CONNECTION_ERROR callbacks for more failure paths
3) Fix for client close to callback on one error path
4) lws_snprintf() needed in a couple of test apps (1.7.x lib doesn't use it
for aggregated buffer truncation)
v1.7.8 v1.7.8
====== ======
......
...@@ -1674,3 +1674,27 @@ Otherwise a default timeout is used. ...@@ -1674,3 +1674,27 @@ Otherwise a default timeout is used.
<dd>Length of data in <tt><b>buf</b></tt> to send <dd>Length of data in <tt><b>buf</b></tt> to send
</dl> </dl>
<hr> <hr>
<h2>lws_snprintf - </h2>
<i>LWS_EXTERN int</i>
<b>lws_snprintf</b>
(<i>char *</i> <b>str</b>,
<i>size_t</i> <b>size</b>,
<i>const char *</i> <b>format</b>,
<i></i> <b>...</b>)
<h3>Arguments</h3>
<dl>
<dt><b>...</b>
<dd>variable arguments
</dl>
<h3>Description</h3>
<blockquote>
<p>
\param str: destination buffer
\param size: bytes left in destination buffer
\param format: format string
\param ...: args for format
<p>
This lets you correctly truncate buffers by concatenating lengths, if you
reach the limit the reported length doesn't exceed the limit.
</blockquote>
<hr>
Name: libwebsockets Name: libwebsockets
Version: 1.7.8 Version: 1.7.9
Release: 1%{?dist} Release: 1%{?dist}
Summary: Websocket Server and Client Library Summary: Websocket Server and Client Library
...@@ -55,7 +55,7 @@ rm -rf $RPM_BUILD_ROOT ...@@ -55,7 +55,7 @@ rm -rf $RPM_BUILD_ROOT
/usr/bin/libwebsockets-test-echo /usr/bin/libwebsockets-test-echo
/usr/bin/libwebsockets-test-fraggle /usr/bin/libwebsockets-test-fraggle
/usr/bin/libwebsockets-test-fuzxy /usr/bin/libwebsockets-test-fuzxy
/%{_libdir}/libwebsockets.so.7 /%{_libdir}/libwebsockets.so.7.1
/%{_libdir}/libwebsockets.so /%{_libdir}/libwebsockets.so
/%{_libdir}/cmake/libwebsockets/LibwebsocketsConfig.cmake /%{_libdir}/cmake/libwebsockets/LibwebsocketsConfig.cmake
/%{_libdir}/cmake/libwebsockets/LibwebsocketsConfigVersion.cmake /%{_libdir}/cmake/libwebsockets/LibwebsocketsConfigVersion.cmake
...@@ -71,6 +71,9 @@ rm -rf $RPM_BUILD_ROOT ...@@ -71,6 +71,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Thu Sep 15 2016 Andy Green <andy@warmcat.com> 1.7.9-1
- MINOR fixes Upstream 1.7.9 release (see changelog)
* Thu May 12 2016 Andy Green <andy@warmcat.com> 1.7.8-1 * Thu May 12 2016 Andy Green <andy@warmcat.com> 1.7.8-1
- MINOR fixes Upstream 1.7.8 release (see changelog) - MINOR fixes Upstream 1.7.8 release (see changelog)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment