Skip to content
Snippets Groups Projects
Commit 9bf4b7bb authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Don't send telnet commands to spy sockets

send_telnet_cmd() now sends telnet commands/replies directly to the client
socket. This avoid the entire output_thread() teeing of sent data to spy
sockets/buffers (which may not be Telnet at all).

There are some concerns with this change:
- if client_socket isn't writable, will sendsocket() block?
- if output_thread is sending on the same socket, are our 2/3-byte telnet
  commands going to have other output data interleaved within? (seems very
  unlikely)
parent 5c711045
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment