Re: [twsocket] SSL post extremely slow

2016-05-13 Thread Angus Robertson - Magenta Systems Ltd
> Angus, could you share the upload script on your server?

It's not a script, the server uses the ICS web application server
component, and the upload page is Delphi code, based on the upload demo
page in the ICS web server sample. 

Angus

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] SSL post extremely slow

2016-05-13 Thread brian -
Angus, could you share the upload script on your server?

On Thu, May 12, 2016 at 5:35 PM, RTT  wrote:

>
>
> 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
> method and use the TransmitFile from there.
> Check the Indy IdStackWindows.pas for code (function ServeFile) that uses
> the TransmitFile.
> If this work, maybe it can be integrated in the ICS code.
>
> --
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
>
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be