changeset 427:6c612d31e9c6

.
author jcid
date Fri, 17 Oct 2008 14:24:27 +0200
parents bb8d55641f0c
children 96a8fed9b414
files configure.in dpi/https.c
diffstat 2 files changed, 17 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Thu Oct 16 22:44:19 2008 +0200
+++ b/configure.in	Fri Oct 17 14:24:27 2008 +0200
@@ -21,7 +21,7 @@
                     , enable_insure=no)
 AC_ARG_ENABLE(ansi,   [  --enable-ansi           Try to compile and run with ANSI flags],
                     , enable_ansi=no)
-AC_ARG_ENABLE(ssl,    [  --enable-ssl            Enable ssl features (eg. https)],
+AC_ARG_ENABLE(ssl,    [  --enable-ssl            Enable ssl, https (ALPHA CODE)],
                     , enable_ssl=no)
 AC_ARG_ENABLE(ipv6,   [  --enable-ipv6           Build with support for IPv6], , )
 AC_ARG_ENABLE(cookies,[  --disable-cookies       Don't compile support for cookies],
--- a/dpi/https.c	Thu Oct 16 22:44:19 2008 +0200
+++ b/dpi/https.c	Fri Oct 17 14:24:27 2008 +0200
@@ -653,23 +653,25 @@
    sock_handler_printf(sh, 1,
       "Content-type: text/html\n\n"
       "<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>\n"
-      "<html><body><pre>\n"
-      "<b>Hi!\n\n"
-      "  This is the https dpi that just got a request to send\n"
-      "  the following HTTP query:\n{</b>\n"
-      "<code>%s</code>\n"
-      "<b>}</b>\n\n"
-      "  <b>*** Dillo's prototype plugin for https support"
-      " is disabled now ***</b>\n\n"
-      "  If you want to test this <b>alpha</b> support code, just\n"
-      "  reconfigure with --enable-ssl, recompile and reinstall.\n\n"
-      "  (beware that this https support is very limited now)\n\n"
+      "<html><head><title>SSL support is disabled</title></head>\n"
+      "<body>\n"
+      "<p>\n"
+      "  The https dpi was unable to send\n"
+      "  the following HTTP query:\n"
+      "  <blockquote><pre>%s</pre></blockquote>\n"
+      "  because Dillo's prototype plugin for https support"
+      "  is disabled.\n\n"
+      "<p>\n"
+      "  If you want to test this <b>alpha</b> support code,\n"
+      "  just reconfigure with <code>--enable-ssl</code>,\n"
+      "  recompile and reinstall.\n\n"
+      "  (Beware that this https support is very limited now)\n\n"
       "  To use https and SSL, you must have \n"
       "  the OpenSSL development libraries installed.  Check your\n"
       "  O/S distribution provider, or check out\n"
-      "  <a href=\"http://www.openssl.org\">www.openssl.org</a>\n\n"
-      "  --\n"
-      "</pre></body></html>\n",
+      "  <a href=\"http://www.openssl.org\">www.openssl.org</a>.\n\n"
+      "</p>\n\n"
+      "</body></html>\n",
       http_query
    );
    MSG("{ HTML content sent.}\n");