Roxen.git/
server/
protocols/
http.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2000-11-05
2000-11-05 21:26:25 by Martin Nilsson <mani@lysator.liu.se>
f73026ea35f3050d479632a9b0caf1df8511ee3d (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
5.2
Fixes bug when mounting server elsewhere than the root.
Rev: server/protocols/http.pike:1.285
2:
// Modified by Francesco Chemolli to add throttling capabilities. // Copyright © 1996 - 2000, Roxen IS.
-
constant cvs_version = "$Id: http.pike,v 1.
284
2000/11/
02
17
:
06
:
38
per
Exp $";
+
constant cvs_version = "$Id: http.pike,v 1.
285
2000/11/
05
21
:
26
:
25
nilsson
Exp $";
// #define REQUEST_DEBUG #define MAGIC_ERROR
1980:
string path; if( !conf || !(path = port_obj->path ) || (sizeof( path )
-
&&
not
_
query
[..sizeof(path) - 1] != path) )
+
&&
raw
_
url
[..sizeof(path) - 1] != path) )
{ // FIXME: port_obj->name & port_obj->default_port are constant