Hi,

I was able to reproduce the problem both for tls1 and sslv3. Looking at
Wireshark traces, the problem is that the Chrome sends a Client Hello
(synapse replies, no error) and sends again a Client Hello (synapse raises
error). Chrome connection to an apache server has the same behavior (apache
doesn't raise an error).  
This Chrome behavior is meant to speed up HTTPS connectivity. More info can
be found here :
http://www.conceivablytech.com/3299/products/false-start-google-proposes-fas
ter-web-chrome-supports-it-already . As described in the article, starting
chrome with -disable-ssl-false-start does solve the problem.

A solution would be to not display the error when Sock.SSL.LastError=0
(still exit however, since the SSL session is aborted). However, there are
other ssl_accept errors that should be displayed. Problem is that SSLcheck
used in TSSLOpenSSL.Accept uses ERR_get_error() to fill in
Sock.SSL.LastError instead of SSL_get_error(). Changing SSLcheck would
probably break up too many things. I understand you have already patched
TSSLOpenSSL.Accept to use SSL_get_error since you got the SSL_ERROR_SYSCALL
= 5 error.


Ludo  






-----Message d'origine-----
De : Bronislav Klucka [mailto:bronislav.klu...@bauglir.com] 
Envoyé : dimanche 17 avril 2011 04:47
À : synalist-public@lists.sourceforge.net
Objet : [Synalist] HTTPS demo and Crome


Helo,
I'm having an issue with Chrome 10 on Windows XP and HTTPS server demo 
in Synapse 39
The SSL simply fails (Opera and FF works).

It all comes down to
Sock.SSLAcceptConnection in demo, which fails calling TSSLOpenSSL.Accept
function and then sslAccept library call, which 
returns error SSL_ERROR_SYSCALL = 5 without any additional informations.

But the communication itself works, the demo returs data and the data 
are displayed in browser.
Does anyone encouter this error? Does anyone have an idea?

I've tried openSSL 0.9.7, 0.9.8d, 0.9.7g, 0.9.7m...

Bronislav Klucka

-- 


----------------------------------------------------------------------------
--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
synalist-public mailing list synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to