View Issue Details

IDProjectCategoryView StatusLast Update
0006957Talerexchangepublic2021-08-24 14:22
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 
Summary0006957: [exchange]/serve config option is ignored
DescriptionAccording to both the documentation and sample configuration file, the following option

[exchange]
SERVE=tcp # or unix, etc.

is supposed to control what the exchange listens on.

However, the actual code of taler-exchange-httpd completely ignores this, and instead just listens on whatever setting it looks at first that is valid.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2021-07-30 12:30

manager   ~0018032

I am confused why you say this. taler-exchange-httpd clearly calls TALER_MHD_parse_config() around line 1190, and that function clearly looks at the "SERVE" option before deciding between tcp and unix. The LISTEN_FDS environment variables can override this, but this is only if systemd launches us or we do the SIGHUP-reload logic. So the code _looks_ correct to me.

Florian Dold

2021-07-30 14:01

manager   ~0018033

Ah, my bad, I somehow missed TALER_MHD_parse_config. Must've been too late already!

Issue History

Date ModifiedUsernameFieldChange
2021-07-26 21:26Florian DoldNew Issue
2021-07-26 21:26Florian DoldStatusnew => assigned
2021-07-26 21:26Florian DoldAssigned To => Christian Grothoff
2021-07-30 12:30Christian GrothoffNote Added: 0018032
2021-07-30 12:30Christian GrothoffAssigned ToChristian Grothoff => Florian Dold
2021-07-30 12:30Christian GrothoffStatusassigned => feedback
2021-07-30 14:01Florian DoldAssigned ToFlorian Dold => Christian Grothoff
2021-07-30 14:01Florian DoldStatusfeedback => informing
2021-07-30 14:01Florian DoldResolutionopen => fixed
2021-07-30 14:01Florian DoldNote Added: 0018033
2021-08-24 14:22Christian GrothoffStatusinforming => closed