1. Roland Smith
  2. PowerBuilder
  3. Tuesday, 2 August 2022 16:59 PM UTC

PB 2019-R3.

I have a desktop app calling web services. Initially I was using WinHTTP API function calls to communicate with the server. This method works great.

I decided to switch to the built-in HttpClient object. I'm using PostDataStart/PostData/PostDataEnd to send the request data.

A customer reports that clients using a VPN (FortiClient) are much slower using the HttpClient object verses my WinHTTP object.

Before I reverse the change, I'm wondering if there are any suggestions on resolving this issue. The application makes multiple calls using the same instance of HttpClient. I'm not sure if it is fast the first time and slow after that.

mike S Accepted Answer Pending Moderation
  1. Tuesday, 2 August 2022 17:13 PM UTC
  2. PowerBuilder
  3. # 1

is the server you are making http calls on the internet or is it behind firewalls that you are vpn'ing in to?

 

if slow on just the first try, then it may be the http client trying different security.  

Comment
  1. Roland Smith
  2. Tuesday, 2 August 2022 17:24 PM UTC
Some machines use a central web server over the internet and some have a local office web server. The HttpClient version has only been deployed to a few machines and I'm not sure which. I'll have to ask.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.