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