Branch: Tag:

2008-09-09

2008-09-09 11:21:46 by Tobias Liin <liin@roxen.com>

Bugfix for async requests with redirects (ported from 4.5).

Rev: server/modules/tags/insert_cached_href.pike:1.23

7:   //<locale-token project="mod_insert_cached_href">LOCALE</locale-token>   #define LOCALE(X,Y) _DEF_LOCALE("mod_insert_cached_href",X,Y)    - constant cvs_version = "$Id: insert_cached_href.pike,v 1.22 2008/08/15 12:33:55 mast Exp $"; + constant cvs_version = "$Id: insert_cached_href.pike,v 1.23 2008/09/09 11:21:46 liin Exp $";      constant thread_safe = 1;   constant module_type = MODULE_TAG;
768:    mapping args = (["cached-href" : (string)url,    "timeout" : timeout,    "sync" : 0]); +  get_result_async(this_object(), args, ([ "x-roxen-recursion-depth" : request_headers["x-roxen-recursion-depth"]]));    -  get_result_async(this_object(), args, request_headers); -  +     return;    }