Hi all,
When using ecore_con as a https server and trying to connect to it on
non-secure http (using curl or wget), I get SPANKED on server side.
I used the provided sample program ecore_con_server_simple_example.c.
ERR<313>:ecore_con ecore_con_ssl.c:1888
_ecore_con_ssl_client_init_openssl() Error at
ecore_con_ssl.c:_ecore_con_ssl_client_init_openssl:1888!
ERR<313>:ecore_con ecore_con.c:1206 ecore_con_event_client_error()
OpenSSL error: http request
INF<313>:ecore ecore_main.c:381 _ecore_main_fdh_poll_del() removing
poll on 6
ERR<313>:ecore ecore.c:558 _ecore_magic_fail()
*** ECORE ERROR: Ecore Magic Check Failed!!!
*** IN FUNCTION: ecore_event_del()
ERR<313>:ecore ecore.c:568 _ecore_magic_fail() Input handle is wrong
type
Expected: f77119fe - Ecore_Event (Event)
Supplied: 00000000 - <UNKNOWN>
ERR<313>:ecore ecore.c:571 _ecore_magic_fail() *** NAUGHTY PROGRAMMER!!!
*** SPANK SPANK SPANK!!!
*** Now go fix your code. Tut tut tut!
However, sometimes - but not often - these errors don't occurs.. in
these cases, I have another ERR line after "OpenSSL error: http request" :
ERR<313>:ecore_con ecore_con.c:2176 _ecore_con_svr_cl_handler() ssl
handshaking failed!
This never happens when I connect using a web browser (tried FF and
chromium), always get the "ssl handshaking failed" line.
Is there a bug or I don't use ecore_con correctly ?
Thanks,
(chefpeyo)
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel