{"action":"closed","issue":{"url":"https://api.github.com/repos/nodejitsu/node-http-proxy/issues/441","labels_url":"https://api.github.com/repos/nodejitsu/node-http-proxy/issues/441/labels{/name}","comments_url":"https://api.github.com/repos/nodejitsu/node-http-proxy/issues/441/comments","events_url":"https://api.github.com/repos/nodejitsu/node-http-proxy/issues/441/events","html_url":"https://github.com/nodejitsu/node-http-proxy/issues/441","id":16387175,"number":441,"title":"[feature request] need transparent \"CONNECT\"","user":{"login":"mrose17","id":400552,"avatar_url":"https://avatars.githubusercontent.com/u/400552?v=3","gravatar_id":"","url":"https://api.github.com/users/mrose17","html_url":"https://github.com/mrose17","followers_url":"https://api.github.com/users/mrose17/followers","following_url":"https://api.github.com/users/mrose17/following{/other_user}","gists_url":"https://api.github.com/users/mrose17/gists{/gist_id}","starred_url":"https://api.github.com/users/mrose17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrose17/subscriptions","organizations_url":"https://api.github.com/users/mrose17/orgs","repos_url":"https://api.github.com/users/mrose17/repos","events_url":"https://api.github.com/users/mrose17/events{/privacy}","received_events_url":"https://api.github.com/users/mrose17/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2013-07-05T05:02:54Z","updated_at":"2016-01-20T23:39:06Z","closed_at":"2016-01-20T23:39:06Z","body":"i'd like to use nodejitsu.com to host an app that does rendezvous between two processes, cf., the \"HTTP-specific protocol\" implemented here:\r\n\r\n    https://github.com/mrose17/node-rendezvous\r\n\r\nthe problem is that ithe appt needs to be able to \"park\" an incoming HTTP connection from one client while waiting for a connection from a second client. \r\n\r\ni believe that the easiest way to implement this is for node-http-proxy to implement connect transparently, e.g., node-http-proxy receives\r\n\r\n  CONNECT ... HTTP/1.1\r\n  Host: example.nodejitsu.com\r\n\r\nestablishes a connection to port 8080 on the application, sends the CONNECT verbatim and then transparently copies octets over the connection until it closes, e.g.,\r\n\r\n    socket1.pipe(socket2); socket2.pipe(socket1);\r\n\r\nwhat's your thinking?\r\n\r\nthanks!\r\n\r\n/mtr\r\n"}}