mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-23 08:31:46 +02:00
Check socket types during mechanism handshake
This commit is contained in:
@@ -543,15 +543,6 @@ void zmq::curve_server_t::send_zap_request (const uint8_t *key)
|
||||
errno_assert (rc == 0);
|
||||
}
|
||||
|
||||
int zmq::curve_server_t::property (const std::string name,
|
||||
const void *value, size_t length)
|
||||
{
|
||||
if (name == "Socket-Type") {
|
||||
// TODO: Implement socket type checking
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
int zmq::curve_server_t::receive_and_process_zap_reply ()
|
||||
{
|
||||
int rc = 0;
|
||||
|
Reference in New Issue
Block a user