From 5920dc18d75a53690ed8690867f501c51595daf1 Mon Sep 17 00:00:00 2001 From: runge Date: Tue, 28 Mar 2006 05:43:04 +0000 Subject: SSL patch for Java viewer. https support for x11vnc. --- libvncserver/httpd.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libvncserver/httpd.c') diff --git a/libvncserver/httpd.c b/libvncserver/httpd.c index 676f557..a78cf73 100755 --- a/libvncserver/httpd.c +++ b/libvncserver/httpd.c @@ -67,7 +67,11 @@ "Invalid Request\n" \ "

Invalid request

\n" -#define OK_STR "HTTP/1.0 200 OK\nContent-Type: text/html\r\n\r\n" +#if 1 +#define OK_STR "HTTP/1.0 200 OK\r\nContent-Type: text/html\r\n\r\n" +#else +#define OK_STR "HTTP/1.0 200 OK\r\nConnection: close\r\nContent-Type: text/html\r\n\r\n" +#endif static void httpProcessInput(rfbScreenInfoPtr screen); static rfbBool compareAndSkip(char **ptr, const char *str); -- cgit v1.2.1