This commit is contained in:
Archi
2023-02-03 03:00:42 +01:00
parent e266b8ad31
commit 9f272ae490

View File

@@ -759,6 +759,9 @@ public sealed class WebBrowser : IDisposable {
// Set max idle time from default of 100 seconds (100 * 1000) to desired value
ServicePointManager.MaxServicePointIdleTime = MaxIdleTime * 1000;
// Make best effort in ensuring that we're not honoring revoked certificates
ServicePointManager.CheckCertificateRevocationList = true;
// Don't use Expect100Continue, we're sure about our POSTs, save some TCP packets
ServicePointManager.Expect100Continue = false;