tlsgate

TLS reverse proxy
git clone git://git.akobets.xyz/tlsgate
Log | Files | Refs | README | LICENSE

commit 4d531bdde1c61c4135a35d4fa096db7ededc7626
parent 215b014837347f60fe9a63effcad16c2231bc841
Author: Artem Kobets <artem@akobets.xyz>
Date:   Thu,  3 Sep 2020 13:04:37 +0300

logic fixes

Diffstat:
Mserve.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/serve.c b/serve.c @@ -36,7 +36,7 @@ serve(struct tls *ctx, int fd) if (nread == -1 || nread == 0) break; - if (full_tls_write(ctx, buf, nread) == -1); + if (full_tls_write(ctx, buf, nread) == -1) break; }