Commit e5ecd0b
committed
https-proxy-agent: create the proxy socket connection first
Also remove the `host`, `hostname`, and `port` opts from the proxy
opts before mixing in. Shouldn't strictly be necessary, but gives me
a little bit of piece of mind.
Also add comment reminding me about why we mix in the proxy options,
since coming back today I had to think about it for a while before
remembering why it was necessary (good thing I have tests for it!)1 parent 4049ff2 commit e5ecd0b
1 file changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
79 | | - | |
| 77 | + | |
80 | 78 | | |
81 | 79 | | |
82 | 80 | | |
83 | 81 | | |
84 | 82 | | |
85 | 83 | | |
86 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
87 | 94 | | |
88 | 95 | | |
89 | 96 | | |
| |||
0 commit comments