Skip to content

Commit

Permalink
Update SynHttpSrv.pas
Browse files Browse the repository at this point in the history
  • Loading branch information
Makhaon authored Oct 10, 2021
1 parent d72ee5c commit 699c110
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions SynHttpSrv.pas
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ interface
{$undef DEBUG}
//{$define DEBUG}

//!!!TODO: SSL/https

//{$define CIL} //only for dotnet testing...

type
// Result: True=found/stop, False=continue
THeaderEnum = function(const Value: string; LParam: NativeUInt): boolean of object;
Expand Down Expand Up @@ -3318,8 +3314,6 @@ procedure TSynHttpServer.InitHttps(const CertFile, KeyFile, KeyPassword, CaCertF
FSynapseServer.Socket.SSL.KeyPassword := FKeyPass;
FSynapseServer.Socket.SSL.VerifyCert := True;
//
//if (Self.Port = '80') then
//Self.Port := '443';
end;

initialization
Expand Down

0 comments on commit 699c110

Please sign in to comment.