Skip to content
This repository was archived by the owner on Nov 17, 2020. It is now read-only.
This repository was archived by the owner on Nov 17, 2020. It is now read-only.

HTTP provider: If-Modified-Since is not up-to-date between certificate changes #68

@markw83

Description

@markw83

We tried to use RabbitMQ with the rabbitmq-trust-store plugin. We configured the plugin to access an external service which provides the required endpoints.

When the plugin retrieves the list of certificates, the Last-Modified response header is set and the plugin sends the next query with the Last-Modified timestamp in the If-Modified-Since request header. If now something changes on the server, the Last-Modified timestamp is updated in the response header but the plugin still sends requests with the old If-Modified-Since timestamp. Somehow it seems that it is not updated after the first time receiving the Last-Modified timestamp.

Note, we are returning Last-Modified timestamp with 200 OK, if something changed and 304 Not Changed if nothing changed (without Last-Modified timestamp).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions