View Issue Details

IDProjectCategoryView StatusLast Update
0006957Talerexchangepublic2021-08-24 16:22
ReporterFlorian Dold Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Summary0006957: [exchange]/serve config option is ignored
DescriptionAccording to both the documentation and sample configuration file, the following option

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.


Christian Grothoff

2021-07-30 14: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 16:01

manager   ~0018033

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

Issue History

Date Modified Username Field Change
2021-07-26 23:26 Florian Dold New Issue
2021-07-26 23:26 Florian Dold Status new => assigned
2021-07-26 23:26 Florian Dold Assigned To => Christian Grothoff
2021-07-30 14:30 Christian Grothoff Note Added: 0018032
2021-07-30 14:30 Christian Grothoff Assigned To Christian Grothoff => Florian Dold
2021-07-30 14:30 Christian Grothoff Status assigned => feedback
2021-07-30 16:01 Florian Dold Assigned To Florian Dold => Christian Grothoff
2021-07-30 16:01 Florian Dold Status feedback => resolved
2021-07-30 16:01 Florian Dold Resolution open => fixed
2021-07-30 16:01 Florian Dold Note Added: 0018033
2021-08-24 16:22 Christian Grothoff Status resolved => closed