I’ve actually used `--telnet` in prod to debug a Redis socket. It worked, but curl kept timing out if the server didn’t respond fast enough.
Add `--max-time 1` to avoid hanging.
Still, `nc` or `socat` are better for raw TCP. Curl’s better at HTTP.
Add `--max-time 1` to avoid hanging.
Still, `nc` or `socat` are better for raw TCP. Curl’s better at HTTP.
