https://gitlab.synchro.net/main/sbbs/-/commit/5c544223f01817b3859790ae
Modified Files:
src/syncterm/conn_telnet.c telnet_io.c telnet_io.h
Log Message:
Defer Telnet negotiation until a command arrives
The receive parser return pointer only indicates whether input needed
copying or interpretation. Using it to release deferred negotiation
caused ordinary unchanged data to start negotiation, while interpreted
IAC commands did not.
Have telnet_interpret report completion of a Telnet command explicitly
and use that signal independently of buffer ownership. NVT CR handling,
partial commands, and escaped IAC data no longer release the defer.
Co-authored-by: OpenAI Codex <
[email protected]>
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net