summaryrefslogtreecommitdiff
path: root/listeners_test.go
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2019-09-06 12:57:12 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2019-09-06 12:57:12 -0600
commit4bd949652564eff8ccfc50f105f0d35f0af26402 (patch)
treef8ffe2a0fb300a5aa0c4337f70314d45b0e817f5 /listeners_test.go
parent14f9662f9cc0f93e88d5efbbaf10de79070bea93 (diff)
Fix Schrodinger's file existence check in file matcher
See: https://stackoverflow.com/a/12518877/1048862 For example, trying to check the existence of "/www/index.php/index.php" fails but not with an os.IsNotExist()-type error. So we have to assume that a file that cannot be successfully stat'ed at all does not exist.
Diffstat (limited to 'listeners_test.go')
0 files changed, 0 insertions, 0 deletions