Fixed issue #2227 second part

- removed the previously added encryption_error, less changes less bug
 - handshake fail is now signaled when an error happen while the
   mechanism is still hanshaking
This commit is contained in:
Vincent Tellier
2016-12-31 15:13:57 +01:00
parent ee98e7dca0
commit ffb31dcadd
3 changed files with 4 additions and 10 deletions

View File

@@ -65,8 +65,7 @@ namespace zmq
enum error_reason_t {
protocol_error,
connection_error,
timeout_error,
encryption_error
timeout_error
};
stream_engine_t (fd_t fd_, const options_t &options_,