Memory issues with ssl handshake

2012-09-12 Thread Thomas Eckert
Hi, Valgrind gives me a *lot* of messages like this ==19021== 2,056 bytes in 2 blocks are indirectly lost in loss record 186 of 190 ==19021==at 0x68EAC8B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==19021==by 0x6C472DB: default_malloc_ex (mem.c:79) ==19021==by

thread-safety questions on 1.0.1c

2012-11-22 Thread Thomas Eckert
I am seeing lots of errors whose error message reads S server_ip: 2851965808:error:14092105:SSL routines:SSL3_GET_SERVER_HELLO:wrong cipher returned:s3_clnt.c:963: if I run it in at least several (8+) threads. Single threaded it's all doing fine, so I guess the kind of issue is obvious. I