[#SSL_alloc_buffers] = SSL_alloc_buffers :mrdocs: Allocate (or keep) the read and write record buffers for an SSL connection. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int SSL_alloc_buffers(xref:SSL.adoc[SSL]* ssl); ---- == Description Useful with SSL_MODE_RELEASE_BUFFERS to preallocate after SSL_free_buffers(), or with custom CRYPTO_set_mem_functions() allocators. Automatic reallocation on I/O still occurs if buffers were freed. == Return Value 1 if the buffers are allocated (or were already allocated), or 0 on allocation failure. == Parameters [cols="1,4"] |=== | Name| Description | *ssl* | SSL connection whose buffers should be preallocated (always succeeds for QUIC). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#