50c4c4 | 2001-08-23 | Martin Nilsson | |
|
0d0e95 | 2000-11-13 | Per Hedbor | | inherit Protocol;
constant supports_ipless = 1;
constant name = "http";
|
a9fa0d | 2001-07-21 | Martin Stjernholm | | constant prot_name = "http";
|
325025 | 2002-06-14 | Martin Nilsson | | constant requesthandlerfile = "plugins/protocols/http.pike";
|
0d0e95 | 2000-11-13 | Per Hedbor | | constant default_port = 80;
int set_cookie, set_cookie_only_once;
|
9c1900 | 2001-02-27 | Per Hedbor | | int minimum_byterate;
|
0d0e95 | 2000-11-13 | Per Hedbor | |
void fix_cvars( Variable.Variable a )
{
set_cookie = query( "set_cookie" );
set_cookie_only_once = query( "set_cookie_only_once" );
|
a087f0 | 2001-08-20 | Per Hedbor | | minimum_byterate = query( "minimum_bitrate" ) / 8;
|
0d0e95 | 2000-11-13 | Per Hedbor | | }
void create( mixed ... args )
{
roxen.set_up_http_variables( this_object() );
|
9c1900 | 2001-02-27 | Per Hedbor | | variables[ "set_cookie" ]->set_changed_callback( fix_cvars );
variables[ "set_cookie_only_once" ]->set_changed_callback( fix_cvars );
variables[ "minimum_bitrate" ]->set_changed_callback( fix_cvars );
|
0d0e95 | 2000-11-13 | Per Hedbor | | fix_cvars(0);
::create( @args );
}
|