socketstream/socketstream — Issue #174: RPCs silently die if session cookie is invalid
Author: nponeccop
Created: 2012-03-03 13:36:27+00:00
State: open

I had a situation when `req.use('session')` silently prevented RPCs from starting. I got `foo.bar <-`, in the server log, but no corresponding `foo.bar ->` and actual code of `foo.bar` didn't execute. The situation resolved when I deleted the session cookie from my browser

I think the situation may be somehow related to handling of invalid session ids in session middleware of SocketStream.

A desired resolution is to print diagnostic messages in server log if session id is invalid.