Using 2.15.0 or 2.15.1, enable abbreviated npm metadata feature by adding this line to conf/nexus.properties:
Create a proxy repo to official npm registry at https://registry.npmjs.org
Make more than 20 requests for a package that does not exist:
Two problems are noticed:
1. The outbound http connection pool for the specific proxy repo gets filled and leaks http connections after 20 connections are used.
2. Even though the remote returns 404 responses, these are never cached despite the fact that the not found cache is enabled and set to 1440 minutes.
Do not leak http connections when the abbreviated metadata feature is enabled. Properly cache 404 responses.