Description of changes:
Adds a fallback check for the X-Forwarded-For header to record Client IP. Header data from disco is case-sensitive, so I checked for the lower-case and capitalized versions. I've also opened https://github.com/awslabs/disco/issues/14 in the underlying Disco framework the agent uses, for the more general fix of case-insensitive headers.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available:
78
Description of changes: Adds a fallback check for the
X-Forwarded-For
header to record Client IP. Header data from disco is case-sensitive, so I checked for the lower-case and capitalized versions. I've also opened https://github.com/awslabs/disco/issues/14 in the underlying Disco framework the agent uses, for the more general fix of case-insensitive headers.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.