Async BIO

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

 




On 19/05/16 23:02, Victor_Webber at DellTeam.com wrote:
> Has anyone implemented the asynchronous version of the SSL_xxx().   It is nice to see that they appear to be supported, but I would like to know if anyone has
> actually implemented an application which uses the asynch version of the calls.
>
>
> I looked at the source, and there were a few niche areas where there were some shortcomings in handling a completely non-blocking implementation.
>

Hi Victor,


we have been using the async BIO interface of OpenSSL for a long time
now, in the libre protocol stack project [1]. main usage of OpenSSL
is TLS/DTLS for application level protocols such as SIP and HTTPS.


it is important and to use the CRYPTO locking api if the application
is multithreaded, and to clear the global error queue by calling
ERR_clear_error() in case of ANY errors (otherwise the next function
call might return that error and it becomes impossible to debug).


after this was implemented properly, we have not have a single
crash in many months. The applications using this code varies
from embedded systems to large scale servers.



/alfred

[1] http://www.creytiv.com/re.html



[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