aboutsummaryrefslogtreecommitdiff
path: root/dpi/https.c
diff options
context:
space:
mode:
Diffstat (limited to 'dpi/https.c')
-rw-r--r--dpi/https.c30
1 files changed, 16 insertions, 14 deletions
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");