I was just replying about this. I think I found a solution. If I listen to the 
"upgrade" event, I get just what I need and the socket is not closed :)

If I still have any issue with this I'll try that version.

-- 
Diogo Resende


On Sunday, May 6, 2012 at 23:53 , Ben Noordhuis wrote:

> On Mon, May 7, 2012 at 12:20 AM, Diogo Resende <[email protected] 
> (mailto:[email protected])> wrote:
> > I'm trying to make an https proxy and I'm not able to make the http module 
> > accept CONNECT requests. I have to use the net module directly. Am I 
> > missing something?
> > 
> > I'm using the latest stable version.
> 
> Improved CONNECT support got added in v0.7.0[1].
> 
> [1] https://github.com/joyent/node/commit/08a91acd
> 
> -- 
> 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] 
> (mailto:[email protected])
> To unsubscribe from this group, send email to
> [email protected] 
> (mailto:[email protected])
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en


-- 
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

Reply via email to