Roxen.git/
server/
protocols/
http.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2001-11-07
2001-11-07 09:53:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>
8e7d8cf0c351fa832f99b36a8826d0a12af33f83 (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
5.2
Fixed bug related to [bug
2502 (#2502)
].
Rev: server/protocols/http.pike:1.345
2:
// Modified by Francesco Chemolli to add throttling capabilities. // Copyright © 1996 - 2001, Roxen IS.
-
constant cvs_version = "$Id: http.pike,v 1.
344
2001/11/
05
12
:
59
:
40
grubba Exp $";
+
constant cvs_version = "$Id: http.pike,v 1.
345
2001/11/
07
09
:
53
:
07
grubba Exp $";
// #define REQUEST_DEBUG #define MAGIC_ERROR
942:
} } }
-
if (!(< "HTTP/1.0", "HTTP/0.9" >)[
clientprot
]) {
+
if (!(< "HTTP/1.0", "HTTP/0.9" >)[
prot
]) {
if (!misc->host) { // RFC 2616 requires this behaviour. REQUEST_WERR("HTTP: HTTP/1.1 request without a host header.");