Roxen.git/
server/
protocols/
http.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2000-09-04
2000-09-04 08:54:43 by Per Hedbor <ph@opera.com>
c68e29344ad24712706db21e16798e5cbf83bd5c (
7
lines) (+
4
/-
3
)
[
Show
|
Annotate
]
Branch:
5.2
Support requests without host header
Rev: server/protocols/http.pike:1.270
2:
// Modified by Francesco Chemolli to add throttling capabilities. // Copyright © 1996 - 2000, Roxen IS.
-
constant cvs_version = "$Id: http.pike,v 1.
269
2000/09/
02
22
:
22
:
59
per Exp $";
+
constant cvs_version = "$Id: http.pike,v 1.
270
2000/09/
04
08
:
54
:
43
per Exp $";
// #define REQUEST_DEBUG #define MAGIC_ERROR
2041:
// consider caching them? conf = port_obj->find_configuration_for_url(port_obj->name + "://" +
-
misc->host +
-
(search(misc->host, ":")<0?
+
(
misc->host
||"*")
+
+
(search(misc->host
||""
, ":")<0?
(":"+port_obj->default_port):"") + raw_url, this_object());