Roxen.git/
server/
protocols/
http.pike
Branch:
Tag:
Non-build tags
All tags
No tags
1997-02-27
1997-02-27 12:06:17 by Marcus Comstedt <marcus@mc.pp.se>
1e9c47d8c75f4b8d34ecfc6274d894249f374ceb (
9
lines) (+
5
/-
4
)
[
Show
|
Annotate
]
Branch:
5.2
Removal of callbacks moved to a better place...
Rev: server/protocols/http.pike:1.19
1:
// This is a roxen module. (c) Informationsvävarna AB 1996.
-
string cvs_version = "$Id: http.pike,v 1.
18
1997/02/
13
13
:
01
:
14
per
Exp $";
+
string cvs_version = "$Id: http.pike,v 1.
19
1997/02/
27
12
:
06
:
17
marcus
Exp $";
// HTTP protocol module. #include <config.h> inherit "roxenlib";
622:
remove_call_out(timeout); #endif
+
my_fd->set_read_callback(0);
+
my_fd->set_close_callback(0);
+
if(conf) { // perror("Handle request, got conf.\n");
637:
if(err==-1) return; internal_error(err); }
-
-
my_fd->set_read_callback(0);
-
my_fd->set_close_callback(0);
+
if(!mappingp(file)) { if(method != "GET" && method != "HEAD" && method != "POST")