Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
http ... PARTY!
node-http-proxy
Commits
a4c5163b
Commit
a4c5163b
authored
7 years ago
by
István Pató
Browse files
Options
Download
Email Patches
Plain Diff
Test initialPort (1024) collision on MacOS,
new port is 11024.
parent
42e8e1e0
github/fork/patoi/test_port_collision
1 merge request
!1259
Test initialPort (1024) collision on MacOS
Pipeline
#1318
failed with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+1
-0
.gitignore
test/lib-http-proxy-test.js
+1
-1
test/lib-http-proxy-test.js
test/lib-https-proxy-test.js
+1
-1
test/lib-https-proxy-test.js
with
3 additions
and
2 deletions
+3
-2
.gitignore
+
1
-
0
View file @
a4c5163b
...
...
@@ -8,3 +8,4 @@ tes.js
npm-debug.log
.nyc_output
coverage
.sonarlint
This diff is collapsed.
Click to expand it.
test/lib-http-proxy-test.js
+
1
-
1
View file @
a4c5163b
...
...
@@ -11,7 +11,7 @@ var httpProxy = require('../lib/http-proxy'),
// Expose a port number generator.
// thanks to @3rd-Eden
//
var
initialPort
=
1024
,
gen
=
{};
var
initialPort
=
1
1024
,
gen
=
{};
Object
.
defineProperty
(
gen
,
'
port
'
,
{
get
:
function
get
()
{
return
initialPort
++
;
...
...
This diff is collapsed.
Click to expand it.
test/lib-https-proxy-test.js
+
1
-
1
View file @
a4c5163b
...
...
@@ -10,7 +10,7 @@ var httpProxy = require('../lib/http-proxy'),
// Expose a port number generator.
// thanks to @3rd-Eden
//
var
initialPort
=
1024
,
gen
=
{};
var
initialPort
=
1
1024
,
gen
=
{};
Object
.
defineProperty
(
gen
,
'
port
'
,
{
get
:
function
get
()
{
return
initialPort
++
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets