tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

load_forever.sjs (473B)


      1 /* Any copyright is dedicated to the Public Domain.
      2    http://creativecommons.org/publicdomain/zero/1.0/ */
      3 
      4 let gResponses = [];
      5 
      6 function handleRequest(request, response) {
      7   response.seizePower();
      8   response.write("HTTP/1.1 200 OK\r\n");
      9   response.write("Content-Type: text/plain; charset=utf-8\r\n");
     10   response.write("Cache-Control: no-cache, must-revalidate\r\n");
     11   response.write("\r\n");
     12 
     13   // Keep the response alive indefinitely.
     14   gResponses.push(response);
     15 }