iron-meteor / iron-middleware-stack

Client and server middleware support inspired by Connect.
MIT License
8 stars 13 forks source link

Speedup finding a matching handler + workaround for 'Too many recursion' #11

Open lowi opened 6 years ago

lowi commented 6 years ago

After updating to Meteor 1.5 (from 1.2), we found a bug no Ubuntu 16 + Firefox 56 where too many routes would cause "Too many recursion" in browser console.

This workaround find the matching URL through iteration (instead of calling next() through Meteor.bindEnvironment()).

dokithonon commented 4 years ago

This is working. Thanks for the fix.