Brandon Enright
Brandon Enright
Yes exposing a TTY would be amazing. I've tried variations on exec --command='/usr/bin/python2.7 -c import pty; pty.spawn("/bin/bash");' without success.
This gist https://gist.github.com/husobee/6e9f998653d66f7481da and blog post https://husobee.github.io/golang/tls/2016/01/27/golang-tls.html suggest how this could be done.
This is non-trivial in Go. The TLS Config that is passed like so: `// Wrap listener with tls listener` `(*Li).Socket = tls.NewListener((*Li).Socket, tlsconfig)` The configuration has an option to register...
From listen man page: The backlog argument defines the maximum length to which the queue of pending connections for sockfd may grow. If a connection request arrives when the queue...