]> git.eshelyaron.com Git - emacs.git/commit
Reuse client cert for connectivity probing in ERC
authorF. Jason Park <jp@neverwas.me>
Tue, 21 Jan 2025 00:32:53 +0000 (16:32 -0800)
committerEshel Yaron <me@eshelyaron.com>
Thu, 23 Jan 2025 10:28:51 +0000 (11:28 +0100)
commitb3cfa19b23833572ec4c4d987eecd5badfb50ca3
treee1f680bebaeab18d7717aba906751014d12252cc
parentad823664b20c3c30d649bf1576ff1a0cd2855392
Reuse client cert for connectivity probing in ERC

* lisp/erc/erc-backend.el (erc--server-connect-function)
(erc--server-post-dial-function): Rename former to latter because the
existing name is better suited for the eventual generalizing of
`erc-server-connect' in a future version.
(erc-server-connect): Use new name for `erc--server-connect-function',
`erc--server-post-dial-function'.
(erc--recon-probe-reschedule, erc--recon-probe-sentinel)
(erc--recon-probe-filter, erc--recon-probe-check): New functions
factored out of `erc-server-delayed-check-reconnect'.
(erc-server-delayed-check-reconnect): Refactor, splitting off lambdas
into top-level functions for improved tracing.
* lisp/erc/erc.el (erc-message-english-recon-probe-hung-up)
(erc-message-english-recon-probe-nobody-home): New
variables.  (Bug#62044)

Thanks to Libera.Chat user arjan for reporting this bug, which
is new in ERC 5.6 and Emacs 30.1.

(cherry picked from commit 331bcfaee51f7fa5ff0f6046f30e940452f3a8fe)
lisp/erc/erc-backend.el
lisp/erc/erc.el