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
  • !1273

Disable the 2 minutes default incoming timeout by default, matches proxyTimeout defaut behavior

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Administrator requested to merge github/fork/Johny101/master into master Jun 12, 2018
  • Overview 2
  • Commits 1
  • Pipelines 1
  • Changes 1

Created by: Johny101

Hi

This modification will save head hakes to those playing with long HTTP request.

Thanks!

Johny

DESCRIPTION: Now, if the incoming timeout option is not set or if set to 0, it will be disabled by setting the req.socket timeout to 0. This replace the default node.js 2 minutes timeout and now support disabling it.

It will have the same default behavior than the incoming proxyTimeout option.

TEST: In a Windows and Arm-Linux environment, set option.timeout to 0, to 5 minutes and no timeout option. Run a 8 minutes long request. Confirm expected behavior for all cases.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/Johny101/master