emacs/test/lisp/erc/resources/base
F. Jason Park f5ebe47ba7 Reuse process in erc-server-delayed-check-reconnect
* doc/misc/erc.texi (Integrations): Set `erc-server-reconnect-function'
to `erc-server-delayed-check-reconnect' in SOCKS example, and add
definition for `erc-open-socks-tls-stream'.  Mention possible
inaccuracies related to error detection with certain reconnect
strategies.
* lisp/erc/erc-backend.el (erc-server--reconnect-opened): New function.
(erc-server-delayed-check-reconnect): Attempt to reuse process if server
sends a complete PONG, and attempt to accommodate connectors that set
:nowait to nil.
(erc--server-delayed-check-connectors): Remove variable.
(erc-server-prefer-check-reconnect): Inline what was the internal
variable `erc--server-delayed-check-connectors' because it's no longer
used in unit tests.  Add `erc-open-socks-tls-stream' to the set of
connector functions thought to be compatible with the "check" reconnect
strategy.
* test/lisp/erc/erc-scenarios-base-auto-recon.el
(erc-scenarios-base-auto-recon-no-proto): Adapt to expect "reuse" behavior.
* test/lisp/erc/resources/base/reconnect/ping-pong.eld: Delete unused file.
* test/lisp/erc/resources/base/reconnect/unexpected-disconnect.eld:
Capture PING cookie to send back to client.
* test/lisp/erc/resources/erc-d/resources/proxy-solo.eld: Delete unused
file.  (Bug#62044)
2024-12-27 15:14:21 -08:00
..
assoc Don't recurse in erc-server-delayed-check-reconnect 2024-06-05 11:58:44 -07:00
auth-source Add format-catalog entry for unknown chan mode in ERC 2024-05-08 17:11:26 -07:00
channel-buffer-revival Revive option erc-query-on-unjoined-chan-privmsg 2023-05-05 17:18:01 -07:00
display-message Use templates for formatting chat messages in ERC 2023-12-17 20:17:55 -08:00
flood ; Allow alternate ert-info text in ERC test utility 2023-09-10 17:58:20 -07:00
gapless-connect Add preset styles to erc-status-sidebar 2023-07-13 18:45:31 -07:00
local-modules Allow selecting graphical ERC tests manually 2023-12-27 21:32:25 -08:00
mask-target-routing Don't recurse in erc-server-delayed-check-reconnect 2024-06-05 11:58:44 -07:00
modes Actually derive channel membership from PREFIX in ERC 2024-01-24 20:58:32 -08:00
netid Allow spoofing process marker in erc-display-line-1 2023-10-13 07:47:00 -07:00
query-participants Reuse old query buffers for reassumed nicks in ERC 2024-05-27 16:39:18 -07:00
reconnect Reuse process in erc-server-delayed-check-reconnect 2024-12-27 15:14:21 -08:00
renick Reuse old query buffers for reassumed nicks in ERC 2024-05-27 16:39:18 -07:00
reuse-buffers Add format-catalog entry for unknown chan mode in ERC 2024-05-08 17:11:26 -07:00
send-message Make nested input handling more robust in ERC 2023-11-12 20:37:48 -08:00
upstream-reconnect Don't recurse in erc-server-delayed-check-reconnect 2024-06-05 11:58:44 -07:00