diff options
| author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-02-17 06:54:19 +0100 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-02-17 06:54:19 +0100 |
| commit | a55c2b2b816998618398f85f1ca7839126afbed0 (patch) | |
| tree | 69e1f2acf296da899f10e128cb490dee68ac2f5d /lib/tel | |
| parent | d99a4ed1b8d06a5163b1cceb8d4cfe285faa70b2 (diff) | |
| download | plan9front-a55c2b2b816998618398f85f1ca7839126afbed0.tar.xz | |
tlssrv: fix this mess (thanks burnzez for reporting the issue)
tlsServer() closes the passed in fd, in our case fd=1 leaving it
with no std output which got occupied by pipe() filedescriptor
which it then closed after duping... a classic.
delete all this mess. theres no reason to fork() and copy traffic
on a pipe at all as tlsServer() gives us a perfectly valid filedescriptor.
just dup() and exec() and we'r done.
Diffstat (limited to 'lib/tel')
0 files changed, 0 insertions, 0 deletions
