Crash in SSL_do_handshake: s->method->ssl_renegotiate_check(s)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04 Apr 2015, at 9:46 PM, Michael Clark <michael at metaparadigm.com> wrote:

> I am having an issue where the server crashes on subsequent connections
> *if* I close the connection file descriptor. See the note in
> openssl_async_echo_server.cc on line 239. If I leak a file descriptor
> and the next connection uses a new fd then the server works fine. Does
> openssl have an internal map of file descriptors? Am I freeing the
> connection correctly?

In the past when I have built async SSL code, I?ve used memory pools from the Apache Portable runtime (APR) to make sure that all the created resources get properly cleaned up when connections are closed.

You need to make sure everything you create is properly released when done. If you don?t, you either leak or crash.

Regards,
Graham
?



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux