summaryrefslogtreecommitdiffstats
path: root/x11vnc/sslhelper.c
diff options
context:
space:
mode:
authorrunge <runge>2006-09-24 00:08:42 +0000
committerrunge <runge>2006-09-24 00:08:42 +0000
commit6f47809af2e44e28d9f97c11b26726e62ee2654f (patch)
treed2b3913ee11b81f7cf65cbe0b1bf31182e5c0e72 /x11vnc/sslhelper.c
parentb9688bb38d00bbc77a54464dabc7aa6313404f0c (diff)
downloadlibtdevnc-6f47809af2e44e28d9f97c11b26726e62ee2654f.tar.gz
libtdevnc-6f47809af2e44e28d9f97c11b26726e62ee2654f.zip
x11vnc: improve SSL Java viewer, cleanup -unixpw code.
Diffstat (limited to 'x11vnc/sslhelper.c')
-rw-r--r--x11vnc/sslhelper.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/x11vnc/sslhelper.c b/x11vnc/sslhelper.c
index 83a9f38..7e5e5ec 100644
--- a/x11vnc/sslhelper.c
+++ b/x11vnc/sslhelper.c
@@ -1574,6 +1574,7 @@ void accept_openssl(int mode) {
* instead of a direct SSL connection.
*/
rfbLog("Handling VNC request via https GET. [%d]\n", getpid());
+ rfbLog("-- %s\n", buf);
if (strstr(buf, "/reverse.proxy")) {
char *buf2;
@@ -1604,6 +1605,9 @@ void accept_openssl(int mode) {
"Content-Type: octet-stream\r\n"
"Pragma: no-cache\r\n\r\n";
+ rfbLog("Handling Check HTTPS request via https GET. [%d]\n", getpid());
+ rfbLog("-- %s\n", buf);
+
SSL_write(ssl, reply, strlen(reply));
SSL_shutdown(ssl);