summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--httpd.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0e2a129..eddcba9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,4 @@
+ long standing http bug (.jar was sent twice) fixed by a friend of Karl named Mike
http options in cargs
when closing a client and no longer listening for new ones, don't crash
fixed a bug with ClientConnectionGone
diff --git a/httpd.c b/httpd.c
index 15265c4..dd89b54 100644
--- a/httpd.c
+++ b/httpd.c
@@ -192,7 +192,9 @@ httpCheckFds(rfbScreenInfoPtr rfbScreen)
static void
httpCloseSock(rfbScreenInfoPtr rfbScreen)
{
+ close(rfbScreen->httpSock);
rfbScreen->httpSock = -1;
+ buf_filled = 0;
}
static rfbClientRec cl;