Branch: Tag:

2008-01-10

2008-01-10 10:06:21 by Martin Stjernholm <mast@lysator.liu.se>

Made register_vary_callback conform to the docs regarding lowercase in the
first argument.

Rev: server/base_server/prototypes.pike:1.198
Rev: server/etc/modules/Roxen.pmod:1.230
Rev: server/modules/filters/hostredirect.pike:1.38

1:   // This is a roxen pike module. Copyright © 1999 - 2004, Roxen IS.   // - // $Id: Roxen.pmod,v 1.229 2008/01/09 15:59:18 mast Exp $ + // $Id: Roxen.pmod,v 1.230 2008/01/10 10:06:21 mast Exp $      #include <roxen.h>   #include <config.h>
3766:    c->misc[" _stat"][1]:-4, type);    case "self": return ENCODE_RXML_TEXT( (c->id->not_query/"/")[-1], type);    case "ssl-strength": -  c->id->register_vary_callback("Host", get_ssl_strength); +  c->id->register_vary_callback("host", get_ssl_strength);    return ENCODE_RXML_INT(get_ssl_strength("", c->id), type);    case "dir":    array parts = c->id->not_query/"/";