pike.git / lib / modules / SSL.pmod / https.pike

version» Context lines:

pike.git/lib/modules/SSL.pmod/https.pike:101:    {    sslfile = f;    sslfile->set_nonblocking(read_callback, 0, 0);    }   }      class Client   {    constant request =    "HEAD / HTTP/1.0\r\n" -  "Host: localhost:" + PORT + "\r\n" +  "Host: " HOST ":" + PORT + "\r\n"    "\r\n";       SSL.sslfile ssl;    int sent;       void write_cb()    {    int bytes = ssl->write(request[sent..]);    if (bytes > 0) {    sent += bytes;