From 8463b4d55e45ea29d5a23f867e7f1c0077279ee7 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 24 Mar 2011 12:27:06 +0100 Subject: SWAP functionality removed On-disk storage should be implemented in devices rather than in 0MQ core. 0MQ is a networking library and there's no point in storing network buffers on disk. Signed-off-by: Martin Sustrik --- src/session.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/session.cpp') diff --git a/src/session.cpp b/src/session.cpp index 3ba971f..176f0ef 100644 --- a/src/session.cpp +++ b/src/session.cpp @@ -247,13 +247,11 @@ void zmq::session_t::process_attach (i_engine *engine_, // Create the pipes, as required. if (options.requires_in) { - create_pipe (socket, this, options.hwm, options.swap, - &socket_reader, &out_pipe); + create_pipe (socket, this, options.hwm, &socket_reader, &out_pipe); out_pipe->set_event_sink (this); } if (options.requires_out) { - create_pipe (this, socket, options.hwm, options.swap, &in_pipe, - &socket_writer); + create_pipe (this, socket, options.hwm, &in_pipe, &socket_writer); in_pipe->set_event_sink (this); } -- cgit v1.2.3