From 6d19521b90eb100ddb17d9c8f54da08931a23cc9 Mon Sep 17 00:00:00 2001
From: Andy Green <andy@warmcat.com>
Date: Thu, 12 May 2016 22:15:15 +0800
Subject: [PATCH] v1.7.8

Signed-off-by: Andy Green <andy@warmcat.com>
---
 CMakeLists.txt     |  2 +-
 changelog          | 18 ++++++++++++++++++
 libwebsockets.spec |  5 ++++-
 3 files changed, 23 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5ecad242..268ee538 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,7 +10,7 @@ set(PACKAGE "libwebsockets")
 set(CPACK_PACKAGE_NAME "${PACKAGE}")
 set(CPACK_PACKAGE_VERSION_MAJOR "1")
 set(CPACK_PACKAGE_VERSION_MINOR "7")
-set(CPACK_PACKAGE_VERSION_PATCH "7")
+set(CPACK_PACKAGE_VERSION_PATCH "8")
 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_DESCRIPTION_SUMMARY "${PACKAGE} ${PACKAGE_VERSION}")
diff --git a/changelog b/changelog
index caa4c18c..68c876ad 100644
--- a/changelog
+++ b/changelog
@@ -1,6 +1,24 @@
 Changelog
 ---------
 
+v1.7.8
+======
+
+NB: No API change since v1.7.0
+
+Fixes:
+
+1) MINOR: user_space arg was mistakenly NULL on LWS_CALLBACK_CLIENT_APPEND_HANDSHAKE_HEADER
+
+2) MINOR: treating recv() returning 0 as peer close destroyed throughput on ab
+tests, reverted
+
+3) MINOR: %3d on URL part was always turned to _... this should only happen in
+?na%3dme=x part of the URL
+
+4) MINOR: some malloc escaped check for NULL / OOM
+
+
 v1.7.7
 ======
 
diff --git a/libwebsockets.spec b/libwebsockets.spec
index 0857bcae..c6b56128 100644
--- a/libwebsockets.spec
+++ b/libwebsockets.spec
@@ -1,5 +1,5 @@
 Name: libwebsockets
-Version: 1.7.7
+Version: 1.7.8
 Release: 1%{?dist}
 Summary: Websocket Server and Client Library
 
@@ -71,6 +71,9 @@ rm -rf $RPM_BUILD_ROOT
 
 %changelog
 
+* Thu May 12 2016 Andy Green <andy@warmcat.com> 1.7.8-1
+- MINOR fixes Upstream 1.7.8 release (see changelog)
+
 * Sat May 03 2016 Andy Green <andy@warmcat.com> 1.7.7-1
 - MINOR fixes Upstream 1.7.7 release (see changelog)
 
-- 
GitLab