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 of every
connection
if there“s two or more concurrent connections it crash with SIGSEGV because
FSSL = nil on line 436
Result:=FSSL.Read(@Buffer ,Count);
Ideas how to make TSSLSocketHandler work with concurrency ???
We'll need to introduce some extra argument to control the freeing of the FSSL.
Thanks.
fphttpserver.patch
<http://free-pascal-general.1045716.n5.nabble.com/file/n5722526/fphttpserver.patch>
ssockets.patch
<http://free-pascal-general.1045716.n5.nabble.com/file/n5722526/ssockets.patch>
Thanks for the patch. I'll see about integrating this ASAP.
Michael.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal