jetty.project
jetty.project copied to clipboard
Resource.getAllResources() will hang forever if symlink loop exists within resource directory.
If there is a circular symlink directory structure somewhere within the resource directory, calling getAllResources()
will never complete.
I did a flamegraph while this was happening and getAllResources()
was on the stacktrace about 30 calls deep from recusing into other resources.
Does it hang forever or stack overflow? eitherway, it needs to be fixed. We have loop detection elsewhere.
It didn't stackoverflow for me after a few minutes but didn't seem to be progressing at all. I guess it probably would have stackoverflowed if it was left running for a long enough time.
This issue has been automatically marked as stale because it has been a full year without activity. It will be closed if no further activity occurs. Thank you for your contributions.
This is being addressed in Jetty-12
This issue has been automatically marked as stale because it has been a full year without activity. It will be closed if no further activity occurs. Thank you for your contributions.
@joakime is this fixed?
@sbordet I think this is fixed, but I'll check again after the 12.0.0 release effort.
@joakime bump