node-continuation-local-storage icon indicating copy to clipboard operation
node-continuation-local-storage copied to clipboard

implementation of https://github.com/joyent/node/issues/5243

Results 51 node-continuation-local-storage issues
Sort by recently updated
recently updated
newest added

In a single project there may be - multiple versions of Promise implementation, say `bluebird@2`, `bluebird@1` - multiple packages of Promise implementation, say coexistence of `bluebird` and `Q`. All these...

I'm using the latest elasticsearch client (v11.0.1) and am running into issues with losing context. With a small number of concurrent requests, it works fine. However, as the load increases...

This happens in the case of uncaught errors in nested contexts (which are sometimes created by Mongoose, etc). The nested context rethrows the error in its catch block after attaching...

needs tests

If the code uses `bindEmitter`, and the emitter triggers after `context.exit()`, should the emitter work? For example, the code: ``` js app.use(function*(next) { var context = ns.createContext(); ns.enter(context); ns.bindEmitter(this.req); ns.bindEmitter(this.res);...

support

The code below uses `bindEmitter` to bind the response object to the current context. So `onfinish` must keep the context, right? ``` js // bind process.namespaces.app.bindEmitter(this.res); // plan onfinish in...

support

Hi Forrest, First of all, in my view cls is a wonderful peace of software. I just started using it and it solves lots of issues for me. Thank you...

bug

Just as an FYI, we're in the process of migrating from `Q` to `bluebird` so a new shim was needed. I did a quick port from `cls-q`, only adapting the...

feature request

use CLS to save session data, but found that session is chaos. ![image](https://cloud.githubusercontent.com/assets/4400909/11829382/21454da8-a3d7-11e5-9ad8-2ff54b54c7f3.png) ![image](https://cloud.githubusercontent.com/assets/4400909/11829385/295b8f8e-a3d7-11e5-9ee7-2357c8e9350a.png)

bug
needs repro

If I modify net-events.tap.js to have the server do socket.destroy() rather than a socket.end(), I get a 'close' event in the client that does not get the client.write cls. Should...

bug