-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Res.socket is nil on CONNECT #48
Comments
What versions of node and node-spdy are you using? |
v0.7.10-pre for node.js. Checked out the latest and greatest v3 branch.. Tried with master and others, same behavior. |
What are you using for the upstream app? Node-spdy doesn't establish the request / response objects, but re-uses and decorates them. Still, I can't think why an upstream app wouldn't have a socket associated with it -- especially if it had called writeHead... |
Tracked it down... Turns out node's handling of Current API: nodejs/node-v0.x-archive@08a91ac#L2R56 With that, got my code to work. Annoying, because I have to replicate the SYN_REPLY frame construction in my server, but does the trick. Speaking of which, we need to extend node-spdy to emit |
Trying to figure out what's going here.. For some reason, if I issue a "CONNECT" query against the server, the response object does not have the socket? This fails later when we try to create the SYN_REPLY.
Frame example:
Any ideas?
The text was updated successfully, but these errors were encountered: