Skip to content
Permalink
Browse files

zmq ZMQ_IPV6 option set

  • Loading branch information...
aokhotin
aokhotin committed Sep 10, 2018
1 parent c8734eb commit 4ef05e91bb330fb8c02a6df76d22067dcfd15b65
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/util/zmqutil.js
@@ -11,7 +11,7 @@ var log = require('./logger').createLogger('util:zmqutil')
module.exports.socket = function() {
var sock = zmq.socket.apply(zmq, arguments)

;['ZMQ_TCP_KEEPALIVE', 'ZMQ_TCP_KEEPALIVE_IDLE'].forEach(function(opt) {
;['ZMQ_TCP_KEEPALIVE', 'ZMQ_TCP_KEEPALIVE_IDLE', 'ZMQ_IPV6'].forEach(function(opt) {
if (process.env[opt]) {
try {
sock.setsockopt(zmq[opt], Number(process.env[opt]))

0 comments on commit 4ef05e9

Please sign in to comment.
You can’t perform that action at this time.