You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Invoke-RestMethod does not perform HTTP connection pooling #13109
A single HTTP connection is used for all requests, as was the case in Windows PowerShell 5.1.
Actual behavior
A new HTTP connection is opened for every request and a TLS handshake is perfomed for each request, resulting in much worse performance than Windows PowerShell 5.1.
Environment data
Name Value
---- -----
PSVersion 7.0.2
PSEdition Core
GitCommitId 7.0.2
OS Microsoft Windows 10.0.18363
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Ilya (@iSazonov) There was a lot of unrelated discussion and misleading information in #12764 so I thought it would be good to open a new issue with a clear description of the issue, is this not the way?
Activity
iSazonov commentedon Jul 6, 2020
Why duplicate #12764?
xtqqczze commentedon Jul 6, 2020
Ilya (@iSazonov) There was a lot of unrelated discussion and misleading information in #12764 so I thought it would be good to open a new issue with a clear description of the issue, is this not the way?
iSazonov commentedon Jul 6, 2020
xtqqczze That would be nice, but most of the issues are similarly confusing. Since we have already a conclusion in #12764 we can close current issue.
xtqqczze commentedon Jul 6, 2020
Ilya (@iSazonov) I will close this issue, perhaps you could edit the title of #12764 for clarity?