Skip to content

telnet: use dynbuf instad of malloc for escape buffer#12652

Closed
bagder wants to merge 1 commit intomasterfrom
bagder/telnet-dynbuf
Closed

telnet: use dynbuf instad of malloc for escape buffer#12652
bagder wants to merge 1 commit intomasterfrom
bagder/telnet-dynbuf

Conversation

@bagder
Copy link
Copy Markdown
Member

@bagder bagder commented Jan 7, 2024

Previously, send_telnet_data() would malloc + free a buffer every time for escaping IAC codes. Now, it reuses a dynbuf for this purpose.

@bagder bagder added the tidy-up label Jan 7, 2024
@jay
Copy link
Copy Markdown
Member

jay commented Jan 7, 2024

LGTM. Note a bunch of jobs are failing MQTT testing, not sure why that is.

Previously, send_telnet_data() would malloc + free a buffer every time
for escaping IAC codes. Now, it reuses a dynbuf for this purpose.

Closes #12652
@bagder bagder force-pushed the bagder/telnet-dynbuf branch from 77b1813 to bf17471 Compare January 8, 2024 21:47
@bagder bagder closed this in 2959f45 Jan 9, 2024
@bagder bagder deleted the bagder/telnet-dynbuf branch January 9, 2024 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants