#1 2021-09-17 09:13:00

Orel
Member
Registered: 2014-04-14
Posts: 13

TWinHTTP with custom Security protocols

I need to limit security protocols on client side(e.g. allow only TLS 1.2 and reject all others)
Here is my suggestion how to implement it.
https://github.com/synopse/mORMot/pull/406

Offline

#2 2021-09-17 11:56:13

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,660
Website

Re: TWinHTTP with custom Security protocols

Please see my comment.

No need to create new constructors.
It would mess with the parent abstract constructors signature.

Offline

#3 2021-09-17 12:52:12

Orel
Member
Registered: 2014-04-14
Posts: 13

Re: TWinHTTP with custom Security protocols

Please check now. Now I've removed constructors and implemented a virtual function GetSecureProtocols, which can be overridden in descedants

Offline

Board footer

Powered by FluxBB