Branch: Tag:

2011-02-28

2011-02-28 17:45:26 by Jonas Wallden <jonasw@roxen.com>

Header changes through extra_heads should now be recorded properly by RXML
and played back with correct header values. Reported in [RT#16690] but also
observed independently.

Rev: server/base_server/prototypes.pike:1.281
Rev: server/etc/modules/RXML.pmod/module.pmod:1.421

5:   #include <config.h>   #include <module.h>   #include <module_constants.h> - constant cvs_version="$Id: prototypes.pike,v 1.280 2011/02/07 12:50:35 grubba Exp $"; + constant cvs_version="$Id: prototypes.pike,v 1.281 2011/02/28 17:45:26 jonasw Exp $";      #ifdef DAV_DEBUG   #define DAV_WERROR(X...) werror(X)
2486:    if (misc->defines && misc->defines[" _extra_heads"]) {    misc->defines[" _extra_heads"][name] = value;    if (object/*(RXML.Context)*/ ctx = RXML_CONTEXT) -  ctx->signal_var_change (name, "header"); +  ctx->signal_var_change (name, "header", value);    }    else {    if (!misc->moreheads) misc->moreheads = ([]);