websocketpp: update to 0.8.2.
This commit is contained in:
parent
bc061207a1
commit
bd4d81f703
|
@ -1,62 +0,0 @@
|
||||||
https://github.com/zaphoyd/websocketpp/issues/794
|
|
||||||
|
|
||||||
--- websocketpp/transport/asio/connection.hpp.orig 2018-07-16 12:40:53 UTC
|
|
||||||
+++ websocketpp/transport/asio/connection.hpp
|
|
||||||
@@ -312,7 +312,7 @@ class connection : public config::socket_type::socket_
|
|
||||||
*/
|
|
||||||
timer_ptr set_timer(long duration, timer_handler callback) {
|
|
||||||
timer_ptr new_timer = lib::make_shared<lib::asio::steady_timer>(
|
|
||||||
- lib::ref(*m_io_service),
|
|
||||||
+ *m_io_service,
|
|
||||||
lib::asio::milliseconds(duration)
|
|
||||||
);
|
|
||||||
|
|
||||||
@@ -462,7 +462,7 @@ class connection : public config::socket_type::socket_
|
|
||||||
|
|
||||||
if (config::enable_multithreading) {
|
|
||||||
m_strand = lib::make_shared<lib::asio::io_service::strand>(
|
|
||||||
- lib::ref(*io_service));
|
|
||||||
+ *io_service);
|
|
||||||
}
|
|
||||||
|
|
||||||
lib::error_code ec = socket_con_type::init_asio(io_service, m_strand,
|
|
||||||
--- websocketpp/transport/asio/endpoint.hpp.orig 2018-07-16 12:40:53 UTC
|
|
||||||
+++ websocketpp/transport/asio/endpoint.hpp
|
|
||||||
@@ -196,7 +196,7 @@ class endpoint : public config::socket_type { (public)
|
|
||||||
m_io_service = ptr;
|
|
||||||
m_external_io_service = true;
|
|
||||||
m_acceptor = lib::make_shared<lib::asio::ip::tcp::acceptor>(
|
|
||||||
- lib::ref(*m_io_service));
|
|
||||||
+ *m_io_service);
|
|
||||||
|
|
||||||
m_state = READY;
|
|
||||||
ec = lib::error_code();
|
|
||||||
@@ -689,7 +689,7 @@ class endpoint : public config::socket_type { (public)
|
|
||||||
*/
|
|
||||||
void start_perpetual() {
|
|
||||||
m_work = lib::make_shared<lib::asio::io_service::work>(
|
|
||||||
- lib::ref(*m_io_service)
|
|
||||||
+ *m_io_service
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -855,7 +855,7 @@ class endpoint : public config::socket_type { (public)
|
|
||||||
// Create a resolver
|
|
||||||
if (!m_resolver) {
|
|
||||||
m_resolver = lib::make_shared<lib::asio::ip::tcp::resolver>(
|
|
||||||
- lib::ref(*m_io_service));
|
|
||||||
+ *m_io_service);
|
|
||||||
}
|
|
||||||
|
|
||||||
tcon->set_uri(u);
|
|
||||||
--- websocketpp/transport/asio/security/none.hpp.orig 2018-07-16 12:40:53 UTC
|
|
||||||
+++ websocketpp/transport/asio/security/none.hpp
|
|
||||||
@@ -169,7 +169,7 @@ class connection : public lib::enable_shared_from_this
|
|
||||||
}
|
|
||||||
|
|
||||||
m_socket = lib::make_shared<lib::asio::ip::tcp::socket>(
|
|
||||||
- lib::ref(*service));
|
|
||||||
+ *service);
|
|
||||||
|
|
||||||
if (m_socket_init_handler) {
|
|
||||||
m_socket_init_handler(m_hdl, *m_socket);
|
|
|
@ -1,14 +1,14 @@
|
||||||
# Template file for 'websocketpp'
|
# Template file for 'websocketpp'
|
||||||
pkgname=websocketpp
|
pkgname=websocketpp
|
||||||
version=0.8.1
|
version=0.8.2
|
||||||
revision=2
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
short_desc="C++/Boost Asio based websocket client/server library"
|
short_desc="C++/Boost Asio based websocket client/server library"
|
||||||
maintainer="Duncaen <duncaen@voidlinux.org>"
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="https://www.zaphoyd.com/websocketpp"
|
homepage="https://www.zaphoyd.com/websocketpp"
|
||||||
distfiles="https://github.com/zaphoyd/websocketpp/archive/${version}.tar.gz"
|
distfiles="https://github.com/zaphoyd/websocketpp/archive/${version}.tar.gz"
|
||||||
checksum=178899de48c02853b55b1ea8681599641cedcdfce59e56beaff3dd0874bf0286
|
checksum=6ce889d85ecdc2d8fa07408d6787e7352510750daa66b5ad44aacb47bea76755
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
|
|
Loading…
Reference in a new issue