paivana

HTTP paywall reverse proxy
Log | Files | Refs | Submodules | README | LICENSE

commit 6def21181760ef42c66e6576137691847fdf0072
parent f7de18944ecc9df7ff9f803d75e918f05d4e27bc
Author: Sebastian <sebasjm@taler-systems.com>
Date:   Wed, 29 Apr 2026 14:49:29 -0300

fix #11356: default max pickup time to one hour

this will be the expiration time taken by the client, we can also use it to set the cookie max-age

Diffstat:
Msrc/backend/paivana-httpd_templates.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/backend/paivana-httpd_templates.c b/src/backend/paivana-httpd_templates.c @@ -479,6 +479,7 @@ check_templates ( t = GNUNET_new (struct Template); t->template_id = GNUNET_strdup (te->template_id); + t->max_pickup_delay = GNUNET_TIME_UNIT_HOURS; t->gt = TALER_MERCHANT_get_private_template_create (PH_ctx, PH_merchant_base_url, t->template_id);