summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordscho <dscho>2003-07-11 07:35:37 +0000
committerdscho <dscho>2003-07-11 07:35:37 +0000
commit0ca0f4b3a8d6dd9643fe74b77d0dc2204291b9fa (patch)
tree0f37811fdc8493a29f89b575aef46da87c1af9e0
parentd5ac0a551a459b4954dc5a9fd0b184a3f25fded0 (diff)
downloadlibtdevnc-0ca0f4b3a8d6dd9643fe74b77d0dc2204291b9fa.tar.gz
libtdevnc-0ca0f4b3a8d6dd9643fe74b77d0dc2204291b9fa.zip
long standing bug in http; was sending .jar twice
-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;