I’m looking for a way to proxy an NTLM server with node. NTLM
handshake/negotiation requires the same TCP connection, so for instance
this will not work:
var http = require('http');
var request = require('request');
http.createServer(function (req, res) {
req.pipe(request('http://upstream/' + req.url))
.pipe(res);
}).listen(9000);
If I use request.forever() like this:
var http = require('http');
var request = require('request').forever();
http.createServer(function (req, res) {
req.pipe(request('http://upstream/' + req.url))
.pipe(res);
}).listen(9000);
it keeps the same connection open but for every client, so the first that
authenticates wins.
It seems that node-http-proxy doesn’t support this as described here:
https://github.com/nodejitsu/node-http-proxy/issues/362
I’m looking for an http agent that can keep upstream connections open per
incoming connection or something like that.
Any thoughts?
thanks
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.