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

version» Context lines:

Roxen.git/server/etc/test/tests/http/websocket.pike:13:    REQUEST_NO_HDR_VERSION,    REQUEST_BAD_HDR_VERSION,    REQUEST_NO_HDR_KEY,    REQUEST_BAD_HDR_KEY,    REQUEST_MAX_BROKENESS,   }      // websocket.pike <url> <path> <brokeness>   void main(int argc, array argv)   { -  string sep = "\r\n"; -  int psize = 100000; +  int psize = 100000; +     if( argc < 4 )    exit( BADARG );       int broken = (int)argv[3];       if ((broken < REQUEST_OK) || (broken >= REQUEST_MAX_BROKENESS))    exit(BADARG);       Stdio.File f = connect( argv[1] );