View Issue Details

IDProjectCategoryView StatusLast Update
0007166Talermerchant backendpublic2024-01-12 13:04
ReporterFlorian Dold Assigned ToChristian Grothoff Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Versiongit (master) 
Target Version0.9Fixed in Version0.9 
Summary0007166: ARM can't restart merchant backend when a long polling request is pending
DescriptionI'm not sure if this is the intended behavior. The merchant doesn't seem to properly respond to SIGTERM (or whatever ARM sends on -k) when there is a pending long-polling request.
Additional Information2022-01-31T20:48:03.634099+0100 taler-merchant-httpd-3769494(66X1B73G4FAHNP7KHYQ77QTAEG) DEBUG Suspending request: long polling for payment
2022-01-31T20:48:03.634119+0100 taler-merchant-httpd-3769494(66X1B73G4FAHNP7KHYQ77QTAEG) INFO Suspending GET /orders/2022.031-004A96M9099CT
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2022-02-02 08:24

manager   ~0018680

152b9b9..8b50f8e changes the code to consistently (!) use a three-valued 'suspended' with GNUNET_SYSERR meaning that we are in shutdown and should just close the HTTP connection (without returning any response). That MAY be suboptimal in some rare cases where we could just return an error response, but I think on shutdown this is OK.

Issue History

Date ModifiedUsernameFieldChange
2022-01-31 19:50Florian DoldNew Issue
2022-01-31 19:50Florian DoldStatusnew => assigned
2022-01-31 19:50Florian DoldAssigned To => Christian Grothoff
2022-02-02 08:24Christian GrothoffStatusassigned => informing
2022-02-02 08:24Christian GrothoffResolutionopen => fixed
2022-02-02 08:24Christian GrothoffFixed in Version => 0.9
2022-02-02 08:24Christian GrothoffNote Added: 0018680
2022-02-02 08:24Christian GrothoffProduct Version => git (master)
2022-02-02 08:24Christian GrothoffTarget Version => 0.9
2022-11-04 19:53Christian GrothoffStatusinforming => closed
2024-01-12 13:04Christian GrothoffCategorymerchant backend API (C) => mechant backend
2025-03-22 13:09Christian GrothoffCategorymechant backend => merchant backend