[fpc-pascal] https support; call for testers

sami samibsb at gmail.com
Thu Sep 3 00:40:32 CEST 2015


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

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>  

 



--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/https-support-call-for-testers-tp5718919p5722526.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list