[smtpd/qpsmtpd] be9f4a: update tcpenv and lrpip calls to use -> syntax

[email protected] (GitHub) Wed, 28 Jan 2015 19:59:07 -0800
Newsgroups perl.qpsmtpd.dev
Message-ID <54c9b00b15156_8a43feeadd5d2bc67817@hookshot-fe2-cp1-prd.iad.github.net.mail>
----==_mimepart_54c9b00b14d33_8a43feeadd5d2bc67760
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

  Branch: refs/heads/tcpserver
  Home:   https://github.com/smtpd/qpsmtpd
  Commit: be9f4aef0c16bff49d3dba4f08d7a88eb41d69ac
      https://github.com/smtpd/qpsmtpd/commit/be9f4aef0c16bff49d3dba4f08d7a88eb41d69ac
  Author: Matt Simerson <[email protected]>
  Date:   2015-01-28 (Wed, 28 Jan 2015)

  Changed paths:
    M lib/Qpsmtpd/TcpServer.pm
    M lib/Qpsmtpd/TcpServer/Prefork.pm
    M plugins/dmarc
    M plugins/tls
    M plugins/tls_cert
    M qpsmtpd-forkserver
    M qpsmtpd-prefork

  Log Message:
  -----------
  update tcpenv and lrpip calls to use -> syntax

don't load plugins twice.

Not exactly sure where that feature crept in some time ago. It was suppressed by checking to see if a queue plugin was already registered, and then bailing out on subsequent register_hook runs. I noticed it in testing, b/c I didn't have a queue plugin loaded. This removes the duplicate calls to register_hook.

* adds caching of the AUTH methods. You can't add new plugins or register new
  hooks w/o restarting QP, so cache the list and avoid having to generate it on every connection.

* other PBP changes (early exits, less indention, fewer unnecessary parens, etc.)



----==_mimepart_54c9b00b14d33_8a43feeadd5d2bc67760--