mountetna / etna

Base gem for Mount Etna applications
GNU General Public License v2.0
0 stars 0 forks source link

Graft fix rack layers #32

Closed graft closed 5 years ago

graft commented 5 years ago

This fixes a poorly-written pair of rack layers, the CORS layer and the Auth layer, which separately seem to have been causing errors during overlapping requests. There is only one instance of each rack layer; use of an instance-variable to pass data is therefore not going to work; consequently I have rewritten these layers to pass data explicitly between methods.

I also fixed a couple of logging bugs.