everyauth icon indicating copy to clipboard operation
everyauth copied to clipboard

Memory leak

Open matejkramny opened this issue 12 years ago • 0 comments

line 189 modules/oauth2.js

I am calling /auth/facebook/callback?code={code} from my mobile application. This in theory should work, i am simulating the facebook callback to the website..

Using node-inspector i found out that i get http 400 from line 184 (oauth2.js) and message that contains redirect_uri isn't an absolute URI. Check RFC 3986.

After the code calls return p.fail({...}) from line 189 on file oauth2 the app causes a memory leak. (basically starts using about 1.4gb RAM, and 100% cpu.) Sounds like a while(true)?

This only time I am grateful for V8's memory limit :P.

matejkramny avatar Sep 05 '13 20:09 matejkramny