Re: [twsocket] SSL post extremely slow

2016-05-12 Thread RTT
Either way, if the problem is the async nature of ICS, shouldn't an alternate method be provided? Try with the TransmitFile function https://msdn.microsoft.com/en-us/library/windows/desktop/ms740565(v=vs.85).aspx You may create a descendant of the THttpCli, override the SocketDataSent

Re: [twsocket] SSL post extremely slow

2016-05-12 Thread brian -
On Thu, May 12, 2016 at 4:24 PM, RTT wrote: > > If that's the case, using SYN, that is sync, to compare against the async > ICS is not of any help. You need to compare with another async component. I think all other libraries are blocking, Indy, Synapse, Delphi's own tcp/ip

Re: [twsocket] SSL post extremely slow

2016-05-12 Thread brian -
Checked again just now, w7: ICS with 64k buffer: Upload Duration: 33.2 secs / Speed: 137,151 chars/sec SYN: Upload Duration: 2 secs / Speed: 2,275,855 chars/sec On Thu, May 12, 2016 at 4:04 PM, brian - wrote: > Erm, I thought we all reached a clear conclusion that the

Re: [twsocket] SSL post extremely slow

2016-05-12 Thread brian -
GET seems fine though. You mentioned changing the buffer size, where would you do that? I tried changing 8k to 64k in OverbyteIcsHttpProt.pas here, but it made no difference: ~4617 procedure THttpCli.SocketDataSent(Sender : TObject; ErrCode : Word); var Len : Integer; begin if not

Re: [twsocket] SSL post extremely slow

2016-05-12 Thread brian -
Note that the original subject is a bit misleading, the issue is not about ssl POST, but POST in general, whether on http or https. On Thu, May 12, 2016 at 12:13 PM, Angus Robertson - Magenta Systems Ltd < an...@magsys.co.uk> wrote: > > I still have some Windows 7 VMs, so will do more testing