View Issue Details

IDProjectCategoryView StatusLast Update
0007166Talermerchant backend API (C)public2022-02-02 09:24
ReporterFlorian Dold Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
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.

Activities

Christian Grothoff

2022-02-02 09: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 Modified Username Field Change
2022-01-31 20:50 Florian Dold New Issue
2022-01-31 20:50 Florian Dold Status new => assigned
2022-01-31 20:50 Florian Dold Assigned To => Christian Grothoff
2022-02-02 09:24 Christian Grothoff Status assigned => resolved
2022-02-02 09:24 Christian Grothoff Resolution open => fixed
2022-02-02 09:24 Christian Grothoff Fixed in Version => 0.9
2022-02-02 09:24 Christian Grothoff Note Added: 0018680
2022-02-02 09:24 Christian Grothoff Product Version => git (master)
2022-02-02 09:24 Christian Grothoff Target Version => 0.9