Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Increase length of line read to handle larger AWS tokens. (#278)
In the wild I've found tokens of length 1044 coming back from EC2 instance metadata; mapcache will fail to parse these. This change doubles the size. Note that AWS says "The size of the security token that AWS STS API operations return is not fixed. We strongly recommend that you make no assumptions about the maximum size.", see https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#API_AssumeRole_ResponseElements
- Loading branch information