Roxen.git / server / etc / test / tests / http / http_common.pike

version» Context lines:

Roxen.git/server/etc/test/tests/http/http_common.pike:12:   // 10 is error-in-execution from pike.   constant HEADERS = 11;   constant DATA = 12;   constant CONN = 13;      constant TIMEOUT = 99;   constant BADARG = 100;      void setup_timeout( )   { -  void timeout() { exit( TIMEOUT ); }; +    #ifndef __NT__ -  +  void timeout() { exit( TIMEOUT ); };    signal( 14, timeout );    alarm( 30 );   #endif   }      array get_host_port( string url )   {    string host;    int port;