Re: [twsocket] Connecting to a webserver via https...

2018-03-05 Thread Angus Robertson - Magenta Systems Ltd
> try to insert Sleep after SslHttpCli.Get: > while not terminated do > begin > SslHttpCli.URL := ... > SslHttpCli.Get; > Sleep(0/10/50/100/...); > end; Loops are not necessary, ICS is event driven, when one page is received (OnRequestDone event) you use that to trigger the next

Re: [twsocket] Connecting to a webserver via https...

2018-03-05 Thread Shumkin Alexey
Hello, just a hint If your loop (with Indy) is the same as you've written while not terminated do begin SslHttpCli.URL := ... SslHttpCli.Get; end; then I've run a busy thread and CPU load might be high try to insert Sleep after SslHttpCli.Get: while not terminated do begin

Re: [twsocket] Connecting to a webserver via https...

2018-03-04 Thread Angus Robertson - Magenta Systems Ltd
> If you running in a thread you  have to write a message pump. Now > the only thing you do is executing a Get. But this has no > difference in http or https. > > I used Indy-Components for a long time, i stucked when i tried > > to access an AXIS-Camera with a very high resolution. Indeed,