Skip to content

Move token acquisition close to remote call

Reiner Hauser requested to merge token-fix into master

These two applications acquire a token only once at the beginning if main() and re-use it afterward. With DPoP tokens and a default lifetime for them of 15 seconds this does not work for apps that talk to every host in P1 e.g. The change is to acquire (a separate) token just before each remote call.

Note this comes on top of a recent RM related change. If that should not go to P1 yet, this has to be cherry picked for a patch for tdaq-12-00-00 instead.

Merge request reports

Loading