Re: [twsocket] send a binary file via https post

2017-04-11 Thread brian -
Add *libcrypto-1_1.dll* and *libssl-1_1.dll* to the exe folder, then Uses > OverbyteIcsWndControl, OverbyteIcsHttpProt, OverbyteIcsWSocket; > > Var h: TSslHttpCli; > > h := TSslHttpCli.Create(nil); > With h do begin > SslContext := TSslContext.Create(h); > RcvdStream :=

Re: [twsocket] What's the purpose of the Accept parameter in HttpCli.OnCookie event?

2017-03-30 Thread brian -
Hmm I see. It would be nice to add an option for self-contained cookies within the httpcli object so it would automatically parse and assign the received cookies. (like the HTTPsend object on the Synapse library) On 30 March 2017 at 09:32, Angus Robertson - Magenta Systems Ltd <

Re: [twsocket] ***SPAM*** Delphi for Linux and ICS

2017-02-28 Thread Brian Hamilton
with a beta of the next Delphi release. Any interest in Linux? Angus -- Brian Hamilton http://www.weather-display.com -- 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

[twsocket] Twsocket OSX

2017-01-10 Thread Brian Hamilton
, etc? thanks! -- Brian Hamilton http://www.weather-display.com -- 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

[twsocket] Delay in getting message back from socket server

2016-07-21 Thread Brian Culverwell
in a millisecond. When calling the PROGRESS 4gl running on a linux box (exact same code, just compiled for linux), then the message comes back, but only after approx 9 seconds. Regards Brian -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org

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 > >

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 - <hikarito...@gmail.com> wrote: > Erm, I thought we all reached a clear c

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

Re: [twsocket] SSL post extremely slow

2016-04-27 Thread brian -
Here we go, *98 SE (Delphi7/v5)* VM ICS: Upload Duration: 34.67 secs/Speed: 131,341 chars/sec SYN: Upload Duration: 9.05 secs/Speed: 503,314 chars/sec *2000* VM ICS: Upload Duration: 34.38 secs/Speed: 132,475 chars/sec SYN: Upload Duration: 4.67 secs/Speed: 974,531 chars/sec *XP* VM ICS:

Re: [twsocket] SSL post extremely slow

2016-04-27 Thread brian -
On Wed, Apr 27, 2016 at 8:46 PM, brian - <hikarito...@gmail.com> wrote: > > >> I still have some Windows 7 VMs, so will do more testing next week, >> once the new OpenSSL stuff is finished. >> > > > These tests on VMs are flawed though, as observed in all my

Re: [twsocket] SSL post extremely slow

2016-04-27 Thread brian -
On Wed, Apr 27, 2016 at 8:28 PM, Angus Robertson - Magenta Systems Ltd < an...@magsys.co.uk> wrote: > > I still have some Windows 7 VMs, so will do more testing next week, > once the new OpenSSL stuff is finished. > These tests on VMs are flawed though, as observed in all my testing, should be

Re: [twsocket] SSL post extremely slow

2016-04-27 Thread brian -
Alright I'm back with some interesting results that confirm my suspicions (actually meant 300/30 Mbit btw) * All VM tests (xp/w7/w10/ubuntu) showed similar results around 0.9..1MB/s upload, except when using a UK VPN: ICS was again slow. * Win XP on a netbook on wifi (Asus eee901): ICS: 65.8s.

Re: [twsocket] SSL post extremely slow

2016-04-27 Thread brian -
Yeah, I'm on 100/30 Mbit fiber, Windows 7 x64 and the latest V8 SVN with Delphi Seattle. Some days ago I tried an old V5 with Delphi7 to rule out this problem having been recently introduced, but I observed the same results. Since you mentioned Windows 10, I thought of making a few extra tests

Re: [twsocket] SSL post extremely slow

2016-04-18 Thread brian -
with PostAsync, waited for RequestDone: 49 seconds. On Mon, Apr 18, 2016 at 6:06 PM, brian - <hikarito...@gmail.com> wrote: > Captured with Microsoft Network Monitor, non-SSL post to my server: > > Synapse: 3.8s http://pasted.co/1f69a8a8 > ICS: 46.5s > https

Re: [twsocket] SSL post extremely slow

2016-04-18 Thread brian -
=501 (scale factor 0x7) = 64128{TCP:288, IPv4:18} On Mon, Apr 18, 2016 at 5:14 PM, brian - <hikarito...@gmail.com> wrote: > Hm not sure if you can see my previous thread messages, I did some little > analysis: > > ICS: ~23s, 377 x 8KB, 55-60ms between packets: > http://

Re: [twsocket] SSL post extremely slow

2016-04-15 Thread brian -
Some more tests (modified buffer size for the 2nd test) ICS: ~23s, 377 x 8KB, 55-60ms between packets: http://pastebin.com/Uq5mphUH ICS @ 64KB: ~22s, 48 x 64KB, 450-470ms between packets: http://pastebin.com/wTat71Qe SYN: ~6s, 49 x 64KB, 110-120ms between packets: http://pastebin.com/g5svt11P

Re: [twsocket] SSL post extremely slow

2016-04-14 Thread brian -
+27(41) 373 0529 > Fax: +27(86) 650 0135 > Disclaimer > > > -Original Message- > > From: TWSocket [mailto:twsocket-boun...@lists.elists.org] On Behalf Of > brian > > - > > Sent: 14 April 2016 00:26 > > To: ICS support mailing > > Subject: Re:

Re: [twsocket] SSL post extremely slow

2016-04-13 Thread brian -
Synapse (OpenSSL) ~7 seconds. On Wed, Apr 13, 2016 at 2:07 AM, brian - <hikarito...@gmail.com> wrote: > Update: sending through WinInet in my project: 6-7 seconds. What could be > the issue with ICS? > > On Wed, Apr 13, 2016 at 12:47 AM, brian - <hikarito...@gmail.com> w

Re: [twsocket] "an archive extracted daily from the repository" is this updated?

2016-04-13 Thread brian -
Why isn't http://www.overbyte.be updated or redirected to the Wiki page? On Wed, Apr 13, 2016 at 4:47 PM, Angus Robertson - Magenta Systems Ltd < an...@magsys.co.uk> wrote: > > The ICS page has links to what's suposed to be a daily snapshot > > of the svn, > > however, comparing the files from

Re: [twsocket] SSL post extremely slow

2016-04-12 Thread brian -
Update: sending through WinInet in my project: 6-7 seconds. What could be the issue with ICS? On Wed, Apr 13, 2016 at 12:47 AM, brian - <hikarito...@gmail.com> wrote: > Are there any known issues with SslHttpCli for sending data? I've observed > the following: > > Sending a 3M

[twsocket] SSL post extremely slow

2016-04-12 Thread brian -
Are there any known issues with SslHttpCli for sending data? I've observed the following: Sending a 3MB picture to imgur: * with ICS/OpenSSL: takes ~27 seconds * with Indy/OpenSSL: 8-10 seconds (didn't send correctly though so can't confirm 100%, but the post part did take that long nonetheless)