Roxen.git
/
server
/
plugins
/
protocols
/
prot_https.pike
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/plugins/protocols/prot_https.pike:1:
// This is a ChiliMoon protocol module. // Copyright © 2001, Roxen IS.
-
// $Id: prot_https.pike,v 2.
14
2005/
04
/
14
23
:
07
:
00
_cvs_dirix Exp $
+
// $Id: prot_https.pike,v 2.
15
2005/
05
/
05
12
:
05
:
24
_cvs_dirix Exp $
// --- Debug defines --- #ifdef SSL3_DEBUG # define SSL3_WERR(X ...) werror("SSL3: " X) #else # define SSL3_WERR(X ...) #endif inherit SSLProtocol;
Roxen.git/server/plugins/protocols/prot_https.pike:125:
} else { if (sizeof(in) > 5) { string q = replace(upper_case(in[..10]), "\t", " "); if (!(has_prefix(q, "GET ") || has_prefix(q, "HEAD ") || has_prefix(q, "OPTIONS ") || has_prefix(q, "PUT ") || has_prefix(q, "PROPFIND "))) { // Doesn't look like a HTTP request. // Bail out.
-
SSL3_WERR(
sprintf(
"fallback_redirect_request->read_callback():\n"
-
"Doesn't look like HTTP (method: %O)\n", q)
)
;
+
SSL3_WERR("fallback_redirect_request->read_callback():\n"
+
"Doesn't look like HTTP (method: %O)\n", q);
die(); return; } } call_out(timeout, 30); } } void create(Stdio.File socket, string s, string l, int p) {