Re: [twsocket] SSL session closed with 10053

2011-10-18 Thread Wilfried Mestdagh
den: maandag 17 oktober 2011 15:56 > Aan: ICS support mailing > Onderwerp: Re: [twsocket] SSL session closed with 10053 > > Use HttpCli.SslContext := TSslContext.Create(nil); > Best Regards, > > SubZero > On Mon, Oct 17, 2011 at 16:06, Wilfried Mestdagh > wrote:

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
://www.comfortsoftware.be > http://www.expertsoftware.be > > > > -Oorspronkelijk bericht- > > Van: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] > > Namens Fastream Technologies > > Verzonden: maandag 17 oktober 2011 13:56 > > Aan: ICS supp

Re: [twsocket] SSL session closed with 10053

2011-10-17 Thread Wilfried Mestdagh
socket-boun...@elists.org] > Namens Fastream Technologies > Verzonden: maandag 17 oktober 2011 13:56 > Aan: ICS support mailing > Onderwerp: Re: [twsocket] SSL session closed with 10053 > > Hello Wilfried, > > You create one TSslContext per SSL certificate your server has and you >

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

[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