Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • N node-http-proxy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 482
    • Issues 482
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 102
    • Merge requests 102
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • http ... PARTY!
  • node-http-proxy
  • Merge requests
  • !931

support convert method connect to websocket

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Administrator requested to merge github/fork/kaven276/master into master Dec 29, 2015
  • Overview 1
  • Commits 1
  • Pipelines 1
  • Changes 1

Created by: kaven276

  • browser access https through forward proxy1
  • proxy1 will accept connect request
  • proxy1 will proxy to proxy2 by upgrade/websocket
    • proxy1 will set headers[x-method-ori] to the original request method
    • proxy2 may be deployed in cloud behind a reverse proxy
    • the reverse proxy in cloud may only allow normal and websocket request
    • and forbid connect request
    • proxy2 is located in a free net env, it's not under network restriction
  • proxy2 will connect to the target site, its https
  • proxy2 will response with 101 switch protocol
  • proxy2 will response with Connection Established next
  • when proxy1 accept 101, it can not auto response with 101, but ignore it
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/kaven276/master