Re: [fpc-pascal] https support; call for testers

2015-09-03 Thread Michael Van Canneyt
On Wed, 2 Sep 2015, sami wrote: Hi Again, I did it work but still having problems Thres two patches attached for sscokets.pp and fphttpserver.pp Using TSSLSocketHandler worked, but i think it is not for use with concurrency TSSLSocketHandler use FSSL: TSSL; object that is freed at the end

Re: [fpc-pascal] https support; call for testers

2015-09-02 Thread sami
Hi Again, I did it work but still having problems Thres two patches attached for sscokets.pp and fphttpserver.pp Using TSSLSocketHandler worked, but i think it is not for use with concurrency TSSLSocketHandler use FSSL: TSSL; object that is freed at the end of every connection if there´s two

Re: [fpc-pascal] https support; call for testers

2015-08-31 Thread sami
Hi all, I´m follow the same ideia from fpHttpClient by use a event to handle the creation of TSSLSocketHandler for fpHttpServer. the event handler was implemented this way: procedure TForm1.sockHandleEvent(Sender: TObject; const UseSSL: Boolean; out aHandler: TSocketHandler); var h: TSSLS

Re: [fpc-pascal] https support; call for testers

2015-08-27 Thread sami
2yf8lThanks, Let me learn more about server(and clients) certificates to try to not waste your time with dummy questions, I'll try to study sample codes of others open source web framework, i think it can help. See you later. -- View this message in context: http://free-pascal-general.1045

Re: [fpc-pascal] https support; call for testers

2015-08-27 Thread Michael Van Canneyt
On Thu, 27 Aug 2015, sami wrote: leledumbo wrote You can't yet, the support is still in fphttpclient only for now. Can i implement it just like in fpHttpClient and upload a patch ? or in server-side it is more complicated or have different approach than client-side ? You can try. But it

Re: [fpc-pascal] https support; call for testers

2015-08-27 Thread sami
leledumbo wrote > You can't yet, the support is still in fphttpclient only for now. Can i implement it just like in fpHttpClient and upload a patch ? or in server-side it is more complicated or have different approach than client-side ? In fact i trying to write a more complete server that can

Re: [fpc-pascal] https support; call for testers

2015-08-26 Thread sami
Hi to all. Michael Van Canneyt wrote > I have tested on windows and unix, the support for client-side SSL support > works. > Server-side support (as could be done in the embedded httpserver) is not > yet tested. I Could not find how to enable server-side support for https on fphttpserver/ fpcus

Re: [fpc-pascal] https support; call for testers

2015-08-26 Thread leledumbo
> I Could not find how to enable server-side support for https on fphttpserver/ fpcustomhttpserver, > There´s no OnGetSocketHandler event on it. > > How do i enable https support on fpHttpServer. You can't yet, the support is still in fphttpclient only for now. -- View this message in contex

Re: [fpc-pascal] https support; call for testers

2014-04-14 Thread Reinier Olislagers
On 13/04/2014 22:29, Michael Van Canneyt wrote: > On Sun, 13 Apr 2014, Reinier Olislagers wrote: >> On 11/04/2014 15:27, Reinier Olislagers wrote: >>> On 11/04/2014 15:00, Michael Van Canneyt wrote: >> If you want to use client side certificates with httpclient, how would >> you do specify that? >

Re: [fpc-pascal] https support; call for testers

2014-04-13 Thread Michael Van Canneyt
On Sun, 13 Apr 2014, Reinier Olislagers wrote: On 11/04/2014 15:27, Reinier Olislagers wrote: On 11/04/2014 15:00, Michael Van Canneyt wrote: One consequence of this is that the fphttpclient unit now has support for the https:// protocol. I have tested on windows and unix, the support for

Re: [fpc-pascal] https support; call for testers

2014-04-13 Thread Reinier Olislagers
On 11/04/2014 15:27, Reinier Olislagers wrote: > On 11/04/2014 15:00, Michael Van Canneyt wrote: >> One consequence of this is that the fphttpclient unit now has support >> for the https:// protocol. > >> I have tested on windows and unix, the support for client-side SSL >> support works. >> >> I

Re: [fpc-pascal] https support; call for testers

2014-04-12 Thread Michael Van Canneyt
On Fri, 11 Apr 2014, Dimitrios Chr. Ioannidis wrote: Hi, Στις 11/4/2014 4:00 μμ, ο/η Michael Van Canneyt έγραψε: I've just committed support for SSL in the ssockets unit of FPC. I also made the OpenSSL unit more thread-safe. I would like to invite people to test and report if they find pro

Re: [fpc-pascal] https support; call for testers

2014-04-11 Thread silvioprog
Michael Van Canneyt Fri, 11 Apr 2014 06:01:08 -0700 > > > Hello, > > I've just committed support for SSL in

Re: [fpc-pascal] https support; call for testers

2014-04-11 Thread Dimitrios Chr. Ioannidis
Hi, Στις 11/4/2014 4:00 μμ, ο/η Michael Van Canneyt έγραψε: I've just committed support for SSL in the ssockets unit of FPC. I also made the OpenSSL unit more thread-safe. I would like to invite people to test and report if they find problems or missing features. the "Writeln(pchar(@buffer)

Re: [fpc-pascal] https support; call for testers

2014-04-11 Thread Michael Van Canneyt
On Fri, 11 Apr 2014, Reinier Olislagers wrote: On 11/04/2014 15:00, Michael Van Canneyt wrote: One consequence of this is that the fphttpclient unit now has support for the https:// protocol. I have tested on windows and unix, the support for client-side SSL support works. I would like to

Re: [fpc-pascal] https support; call for testers

2014-04-11 Thread Reinier Olislagers
On 11/04/2014 15:00, Michael Van Canneyt wrote: > One consequence of this is that the fphttpclient unit now has support > for the https:// protocol. > I have tested on windows and unix, the support for client-side SSL > support works. > > I would like to invite people to test and report if they f

[fpc-pascal] https support; call for testers

2014-04-11 Thread Michael Van Canneyt
Hello, I've just committed support for SSL in the ssockets unit of FPC. I also made the OpenSSL unit more thread-safe. One consequence of this is that the fphttpclient unit now has support for the https:// protocol. I have tested on windows and unix, the support for client-side SSL support wo