Roxen.git
/
server
/
plugins
/
protocols
/
http.pike
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/plugins/protocols/http.pike:1:
// This is a roxen protocol module. // Modified by Francesco Chemolli to add throttling capabilities. // Copyright © 1996 - 2001, Roxen IS.
-
constant cvs_version = "$Id: http.pike,v 1.
376
2002/07/
03
19
:
23
:
57
nilsson
Exp $";
+
constant cvs_version = "$Id: http.pike,v 1.
377
2002/07/
04
09
:
20
:
07
per
Exp $";
// #define REQUEST_DEBUG #define MAGIC_ERROR // HTTP protocol module. #include <config.h> #define TIMER_PREFIX "http:" #include <timers.h> inherit RequestID;
Roxen.git/server/plugins/protocols/http.pike:351:
void start_sender( ) { #ifdef FD_DEBUG call_out(timer, 30, predef::time(1)); // Update FD with time... #endif if( throttler || conf->throttler ) pipe->set_throttler( throttler || conf->throttler ); pipe->set_done_callback( do_log ); pipe->start( );
+
pipe = 0;
} string scan_for_query( string f ) { query=0; rest_query=""; if(sscanf(f,"%s?%s", f, query) == 2) { string v, a, b;