Express.js route matching causes RangeError: Maximum call stack size exceeded when many routes are…
Express.js route matching causes RangeError: Maximum call stack size exceeded when many routes are…: a task in LegoFlow-SWE (Harbor dataset). For example, when calling app.get('/thing' + i, handler) thousands of times and then requesting a route that matches near the end of the registration list…
The task
For example, when calling `app.get('/thing' + i, handler)` thousands of times and then requesting a route that matches near the end of the registration list, or when using `app.post('thepath', handler)` and `app.put('thepath', handler)` patterns extensively, Express throws `RangeError: Maximum call stack size…
Part of Lego-X/LegoFlow-SWE.