feat: Add C++ Plugins - Set/re-set cookies#302
Conversation
|
Here is the summary of changes. You are about to add 1 region tag.
This comment is generated by snippet-bot.
|
mpwarres
left a comment
There was a problem hiding this comment.
LG once comments addressed. Thanks!
|
@victorwoli there look to be some build errors, can you take a look? |
|
There is still a build error: |
Signed-off-by: pweiber <periclesweiber@ciandt.com>
Hi @mpwarres I did some changes to the code and removed the proto config, decided to use the usual config files that we currently use in the repository, also did some changes to the overwrite part since I probably found a bug that it was wiping all the Set-Cookie headers, the build should be fine now, if we find any additional error we can fix that, let me know if the changes are ok, I'll update the rust and go version as well based on this |
Signed-off-by: pweiber <periclesweiber@ciandt.com>
… use TextFormat::ParseFromString Signed-off-by: pweiber <periclesweiber@ciandt.com>
Signed-off-by: pweiber <periclesweiber@ciandt.com>
This plugin lets you set, reset, or delete a domain cookie before the request reaches the Cloud/Media CDN cache. You can create session cookies or time-based cookies using Apache log format. If a cookie already exists from the origin, the plugin can overwrite it or remove the set-cookie header entirely.