SSL_SESSION_GET_COMPRESS_ID(3ossl)
πΈ NAME πΈ
okay bestie, welcome to the SSL_SESSION_GET_COMPRESS_ID(3ossl) page β yes, the whole manual name is right there, sit with it π
SSL_SESSION_get_compress_id β get details about the compression associated with a session. thatβs the whole vibe β¨
β¨ SYNOPSIS β¨
#include <openssl/ssl.h>
unsigned int SSL_SESSION_get_compress_id(const SSL_SESSION *s);
π¦ DESCRIPTION π¦
so like, if compression has been negotiated for an ssl session, then SSL_SESSION_get_compress_id() will return the id for the compression method β or 0 otherwise. thatβs it, thatβs the tea π«
the only built-in supported compression method is zlib, which has an id of 1. iconic, honestly π
π RETURN VALUES π
SSL_SESSION_get_compress_id() returns the id of the compression method β or 0 if none. no cap, thatβs the whole return situation π
π SEE ALSO π
ssl(7)β the SSL manual page, go peek bestie π¦
π COPYRIGHT π
Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.
mwah π this lil masterpiece is from OpenSSL 3.5.6, dated 2026-04-07 β periodt.
π¦ where this page comes from
- freebsd 15.1: base 15.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms