Roxen.git / server / plugins / protocols / prot_https.pike

version» Context lines:

Roxen.git/server/plugins/protocols/prot_https.pike:1:   // This is a ChiliMoon protocol module.   // Copyright © 2001, Roxen IS.    - // $Id: prot_https.pike,v 2.11 2004/05/17 12:58:16 mani Exp $ + // $Id: prot_https.pike,v 2.12 2004/06/04 08:29:30 _cvs_stephen Exp $      // --- Debug defines ---      #ifdef SSL3_DEBUG   # define SSL3_WERR(X ...) werror("SSL3: " X)   #else   # define SSL3_WERR(X ...)   #endif      inherit SSLProtocol;
Roxen.git/server/plugins/protocols/prot_https.pike:36:    }       void write_callback()    {    SSL3_WERR("fallback_redirect_request::write_callback()\n");    int written = f->write(out);    if (written <= 0)    die();    else {    out = out[written..]; -  if (!strlen(out)) +  if (!sizeof(out))    die();    }    }       void read_callback(mixed ignored, string s)    {    SSL3_WERR("fallback_redirect_request::read_callback(X, %O)\n", s);    in += s;    string name;    string prefix;