Commit 8b4d277
authored
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_ResponseElements1 parent ecf59e4 commit 8b4d277
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
868 | 868 | | |
869 | 869 | | |
870 | 870 | | |
871 | | - | |
872 | | - | |
| 871 | + | |
| 872 | + | |
873 | 873 | | |
874 | 874 | | |
875 | 875 | | |
876 | | - | |
| 876 | + | |
877 | 877 | | |
878 | 878 | | |
879 | 879 | | |
880 | | - | |
| 880 | + | |
881 | 881 | | |
882 | 882 | | |
883 | 883 | | |
| |||
0 commit comments