Commit 50ab723
[core-https] Fix proxy issue (Azure#13911)
* [core-https] Fix proxy issue
There's some difference between the previous `tunnel.HttpsOverHttpsOptions` and
current `HttpsProxyAgentOptions`, in particular the former's `host` property
includes both the protocol and the host parts, while the later have separate
`host` and `protocol` properties.
* Address CR feedback
* Better error message
that include the invalid host string
Co-authored-by: Jeff Fisher <xirzec@xirzec.com>
* RangeError => Error
Co-authored-by: Jeff Fisher <xirzec@xirzec.com>1 parent 5ab0b88 commit 50ab723
2 files changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
201 | 208 | | |
202 | | - | |
| 209 | + | |
203 | 210 | | |
| 211 | + | |
204 | 212 | | |
205 | 213 | | |
206 | 214 | | |
| |||
0 commit comments