You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by je...@apache.org on 2019/04/03 22:05:31 UTC

[thrift] branch master updated: THRIFT-4843 http:// and https:// schemes are switched in test client Client: Delphi Patch: Jens Geyer

This is an automated email from the ASF dual-hosted git repository.

jensg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git


The following commit(s) were added to refs/heads/master by this push:
     new c9b1e29  THRIFT-4843 http:// and https:// schemes are switched in test client Client: Delphi Patch: Jens Geyer
c9b1e29 is described below

commit c9b1e29bc9e0702d7441383358d565e1e76ccea7
Author: Jens Geyer <je...@apache.org>
AuthorDate: Thu Apr 4 00:00:38 2019 +0200

    THRIFT-4843 http:// and https:// schemes are switched in test client
    Client: Delphi
    Patch: Jens Geyer
---
 lib/delphi/test/TestClient.pas | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/delphi/test/TestClient.pas b/lib/delphi/test/TestClient.pas
index 0fa43b0..7b603a3 100644
--- a/lib/delphi/test/TestClient.pas
+++ b/lib/delphi/test/TestClient.pas
@@ -1339,8 +1339,8 @@ begin
     trns_Http: begin
       Console.WriteLine('Using HTTPClient');
       if FSetup.useSSL
-      then sUrl := 'http://'
-      else sUrl := 'https://';
+      then sUrl := 'https://'
+      else sUrl := 'http://';
       sUrl := sUrl + FSetup.host;
       case FSetup.port of
         80  : if FSetup.useSSL then sUrl := sUrl + ':'+ IntToStr(FSetup.port);