Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

Fix missing proxy auth #42

Merged
merged 3 commits into from Mar 24, 2021

Conversation

pravipati
Copy link
Contributor

Fixes #39 by adding check to see whether proxy authentication is provided

index.ts Outdated Show resolved Hide resolved
@bryanmacfarlane
Copy link
Member

changes look good. I think you need to run format on the code so the prettier check passes (it only runs on the linux leg - see the failed run)

index.ts Outdated Show resolved Hide resolved
Co-authored-by: Felipe Galindo Sanchez <felipe.galindo.sanchez@intel.com>
@@ -2,6 +2,7 @@ import * as http from 'http'
import * as httpm from '../_out'
import * as pm from '../_out/proxy'
import * as proxy from 'proxy'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

index.ts

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tests/proxy.test.ts

Copy link

@jen801 jen801 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate of #

@@ -2,6 +2,7 @@ import * as http from 'http'
import * as httpm from '../_out'
import * as pm from '../_out/proxy'
import * as proxy from 'proxy'
import * as tunnelm from 'tunnel'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tests/proxy.test.ts

Copy link

@jen801 jen801 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tests/proxy.test.ts

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Proxy authentication should not be configured if no proxy username/password is provided
6 participants