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

version» Context lines:

Roxen.git/server/etc/test/tests/http/RoxenTest_websockets.pike:41:    "Bad Upgrade header",    "No Sec-WebSocket-Version header",    "Bad Sec-WebSocket-Version header",    "No Sec-WebSocket-Key header",    "Bad Sec-WebSocket-Key header",   });      void setup( )   {    foreach(descriptions; int i; string descr) { -  rtest(descr, "http/websocket.pike", "/websocket_example/", i, descr); +  rtest(descr, "http/websocket.pike", "/websocket_example/", i); +  if (i) { +  // Test for over-caching. +  rtest(descriptions[0], "http/websocket.pike", "/websocket_example/", 0);    }    } -  + }