• Pieter Hintjens's avatar
    Added ZMQ_ZAP_DOMAIN socket option · 6725c464
    Pieter Hintjens authored
    * This is passed to the ZAP handler in the 'domain' field
    
    * If not set, or empty, then NULL security does not call the ZAP handler
    
    * This resolves the phantom ZAP request syndrome seen with sockets where
      security was never intended (e.g. in test cases)
    
    * This means if you install a ZAP handler, it will not get any requests
      for new connections until you take some explicit action, which can be
      setting a username/password for PLAIN, a key for CURVE, or the domain
      for NULL.
    6725c464
plain_mechanism.cpp 12.8 KB