mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-14 23:07:59 +02:00
plain_mechanism now uses options.as_server
- we need to switch to PLAIN according to options.mechanism - we need to catch case when both peers are as-server (or neither is) - and to use username/password from options, for client
This commit is contained in:
@@ -52,8 +52,8 @@ namespace zmq
|
||||
{
|
||||
public:
|
||||
|
||||
stream_engine_t (fd_t fd_, const options_t &options_,
|
||||
bool as_server_, const std::string &endpoint);
|
||||
stream_engine_t (fd_t fd_, const options_t &options_,
|
||||
const std::string &endpoint);
|
||||
~stream_engine_t ();
|
||||
|
||||
// i_engine interface implementation.
|
||||
|
Reference in New Issue
Block a user