diff --git a/other/Makefile b/other/Makefile index 4ce1fee..f8d2864 100644 --- a/other/Makefile +++ b/other/Makefile @@ -10,5 +10,5 @@ websocket.o: websocket.c websocket.h websockify.o: websockify.c websocket.h clean: - rm -f websockify kumina *.o + rm -f websockify *.o diff --git a/other/websockify.c b/other/websockify.c index f8e6bcb..a261e81 100644 --- a/other/websockify.c +++ b/other/websockify.c @@ -267,6 +267,7 @@ void proxy_handler(ws_ctx_t *ws_ctx) { do_proxy(ws_ctx, tsock); + shutdown(tsock, SHUT_RDWR); close(tsock); }