Re: [twsocket] SSL session closed with 10053

2011-10-17 Thread Arno Garrels
Wilfried Mestdagh wrote: > Hi Arno, > > Thank you. You put me on a tracé. I put a breakpunt over there, it is > not the FSslEnable, but FSslContext is NIL so exeption is raised and > eaten somewhere. > > Now my question: What is SSLContext and what should I do with it? It encapsulates an OpenSsl

Re: [twsocket] SSL session closed with 10053

2011-10-17 Thread Fastream Technologies
Use HttpCli.SslContext := TSslContext.Create(nil); Best Regards, SubZero On Mon, Oct 17, 2011 at 16:06, Wilfried Mestdagh wrote: > Ok thx SZ :) > > FSslContext := TSslContext.Create(nil); > HttpCli := THttpCli.Create(nil); > > Where and to what do I assign FSslContext to THttpCli ? > > -- > m

Re: [twsocket] SSL session closed with 10053

2011-10-17 Thread Wilfried Mestdagh
Ok thx SZ :) FSslContext := TSslContext.Create(nil); HttpCli := THttpCli.Create(nil); Where and to what do I assign FSslContext to THttpCli ? -- mvg, Wilfried -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/

Re: [twsocket] SSL session closed with 10053

2011-10-17 Thread Fastream Technologies
Overbyteicswsocket.pas. ;-) Regards, SubZero On Mon, Oct 17, 2011 at 15:23, Wilfried Mestdagh wrote: > Hello SZ, > > Stupid question: in which unit is TSSlContext declared? I'm pulling my hair > :( > > -- > mvg, Wilfried > http://www.mestdagh.biz > http://www.comfortsoftware.be > http://www.exper

Re: [twsocket] SSL session closed with 10053

2011-10-17 Thread Wilfried Mestdagh
Hello SZ, Stupid question: in which unit is TSSlContext declared? I'm pulling my hair :( -- mvg, Wilfried http://www.mestdagh.biz http://www.comfortsoftware.be http://www.expertsoftware.be > -Oorspronkelijk bericht- > Van: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org

Re: [twsocket] SSL session closed with 10053

2011-10-17 Thread Fastream Technologies
Hello Wilfried, You create one TSslContext per SSL certificate your server has and you need to assign one of it to each ICS SSL instance. It is useful in sharing SSL context objects accross many SSL client/servers in a thread. Best Regards, SZ On Mon, Oct 17, 2011 at 14:51, Wilfried Mestdagh wrot

Re: [twsocket] SSL session closed with 10053

2011-10-17 Thread Wilfried Mestdagh
Hi Arno, Thank you. You put me on a tracé. I put a breakpunt over there, it is not the FSslEnable, but FSslContext is NIL so exeption is raised and eaten somewhere. Now my question: What is SSLContext and what should I do with it? procedure TCustomSslWSocket.StartSslHandshake; begin {$IFNDEF NO_

Re: [twsocket] SSL session closed with 10053

2011-10-17 Thread Arno Garrels
Wilfried Mestdagh wrote: > Hi, > > This is my First SSL with THttpCli. This site requires a BASIC > authentication but that is not importand here. The strange thing is I > get a session closed with winsock error 10053. > > Nothing is sent. If I put SocketSpy in between then I also have the > 1005

Re: [twsocket] Can this be made?

2011-10-17 Thread Angus Robertson - Magenta Systems Ltd
> What I want to know is we already have the cache memory stream > which we read from and there is multiple copying of data as > TMemoryStream->FDocBuf->ICS> internal buffer->Winsock. Most static files are currently served using TFileStream which is unbuffered with no cache, so reading large am

[twsocket] SSL session closed with 10053

2011-10-17 Thread Wilfried Mestdagh
Hi, This is my First SSL with THttpCli. This site requires a BASIC authentication but that is not importand here. The strange thing is I get a session closed with winsock error 10053. Nothing is sent. If I put SocketSpy in between then I also have the 10053 "in" Socketspy immediately after the cl