Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
b7dd31db
Unverified
Commit
b7dd31db
authored
Jan 20, 2020
by
Simon Giesecke
Committed by
GitHub
Jan 20, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3785 from bluca/wss_option
Problem: WS build option is independent of DRAFT
parents
07052ad3
1f00a5bf
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
5 deletions
+16
-5
CMakeLists.txt
CMakeLists.txt
+7
-3
NEWS
NEWS
+1
-1
configure.ac
configure.ac
+3
-1
zmq_draft.h
src/zmq_draft.h
+5
-0
No files found.
CMakeLists.txt
View file @
b7dd31db
...
...
@@ -98,11 +98,15 @@ if(APPLE)
option
(
ZMQ_BUILD_FRAMEWORK
"Build as OS X framework"
OFF
)
endif
()
# Disable webSocket transport
option
(
DISABLE_WS
"Disable WebSocket transport"
OFF
)
# Enable webSocket transport
if
(
ENABLE_DRAFTS
)
option
(
ENABLE_WS
"Enable WebSocket transport"
ON
)
else
()
option
(
ENABLE_WS
"Enable WebSocket transport"
OFF
)
endif
()
option
(
WITH_NSS
"Use NSS instead of builtin sha1"
OFF
)
if
(
NOT DIS
ABLE_WS
)
if
(
EN
ABLE_WS
)
list
(
APPEND sources
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/ws_address.cpp
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/wss_address.cpp
...
...
NEWS
View file @
b7dd31db
...
...
@@ -27,7 +27,7 @@
of WebSockets (and secure WebSockets via TLS) via the ZWS 2.0 protocol.
WSS requires the GnuTLS library for TLS support. ZMQ_WSS_ specific socket
options were added to support TLS.
WebSockets support
can be disabled at build time with --disable-ws
.
WebSockets support
is disabled by default if DRAFT APIs are disabled
.
* Fixed #3566 - malformed CURVE message can cause memory leak
...
...
configure.ac
View file @
b7dd31db
...
...
@@ -565,7 +565,9 @@ AM_CONDITIONAL(USE_WEPOLL, test "$poller" = "wepoll")
ws_crypto_library=""
AC_ARG_ENABLE([ws],
[AS_HELP_STRING([--disable-ws], [Disable WebSocket transport [default=no]])])
[AS_HELP_STRING([--enable-ws], [Enable WebSocket transport [default=state of DRAFT]])],
[enable_ws=$enableval],
[enable_ws=$enable_drafts])
AC_ARG_WITH([nss],
[AS_HELP_STRING([--with-nss], [use nss instead of built-in sha1 [default=no]])])
...
...
src/zmq_draft.h
View file @
b7dd31db
...
...
@@ -57,6 +57,11 @@
#define ZMQ_SOCKS_PASSWORD 100
#define ZMQ_IN_BATCH_SIZE 101
#define ZMQ_OUT_BATCH_SIZE 102
#define ZMQ_WSS_KEY_PEM 103
#define ZMQ_WSS_CERT_PEM 104
#define ZMQ_WSS_TRUST_PEM 105
#define ZMQ_WSS_HOSTNAME 106
#define ZMQ_WSS_TRUST_SYSTEM 107
#define ZMQ_ONLY_FIRST_SUBSCRIBE 108
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment