EldoS | Feel safer!

Software components for data protection, secure storage and transfer

HTTPSGet_VS2010 example

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
Posted: 01/22/2014 11:49:09
by lgbm (Basic support level)
Joined: 01/22/2014
Posts: 2

HTTPSClient.Get (URL);

is freezing application until ending.
A big download content or multiples instances of TElHTTPSClient, both, freezing application.
TElHTTPSClient is not Multithreading? Any tip to smooth events?

Posted: 01/22/2014 12:01:51
by Eugene Mayevski (EldoS Corp.)

TElHTTPSClient is a single-threaded synchronous component. Potentially it can hang if it's misused. The component has SocketTimeout property which tells the component to break if no response is obtained within specified time. The valuae of the property should be specified in milliseconds.

Sincerely yours
Eugene Mayevski
Posted: 01/22/2014 12:35:38
by lgbm (Basic support level)
Joined: 01/22/2014
Posts: 2

The connection is not timeouted (data is coming) and I'm using HTTPSGet_VS2010 default example, for reproduce the behaviour, make download medium/big content (until finish, all application freeze) with Get function. Any proccess or HTTP instance another in the application, waiting for.
Posted: 01/22/2014 14:05:37
by Eugene Mayevski (EldoS Corp.)

Please post the exact URL that we can use to reproduce the problem.

Sincerely yours
Eugene Mayevski



Topic viewed 561 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!