diff options
-rw-r--r-- | configure.in | 2 | ||||
-rw-r--r-- | dpi/https.c | 30 |
2 files changed, 17 insertions, 15 deletions
diff --git a/configure.in b/configure.in index 8b8ebffc..85790df5 100644 --- a/configure.in +++ b/configure.in @@ -21,7 +21,7 @@ AC_ARG_ENABLE(insure, [ --enable-insure Try to compile and run with Ins , 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], diff --git a/dpi/https.c b/dpi/https.c index 2f2ac930..33c9b2d6 100644 --- a/dpi/https.c +++ b/dpi/https.c @@ -653,23 +653,25 @@ static void no_ssl_support(void) 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"); |