#include "squid.h"
#include "base/IoManip.h"
#include "ssl/support.h"
#include "base/Raw.h"
#include "comm.h"
#include "fd.h"
#include "fde.h"
#include "globals.h"
#include "ip/Address.h"
#include "parser/BinaryTokenizer.h"
#include "ssl/bio.h"
![](bio_8cc__incl.png)
Go to the source code of this file.
Functions | |
static int | squid_bio_write (BIO *table, const char *buf, int size) |
wrapper for Bio::write() More... | |
static int | squid_bio_read (BIO *table, char *buf, int size) |
wrapper for Bio::read() More... | |
static int | squid_bio_puts (BIO *table, const char *str) |
implements puts() via write() More... | |
static long | squid_bio_ctrl (BIO *table, int cmd, long arg1, void *arg2) |
other BIO manipulations (those without dedicated callbacks in BIO table) More... | |
static int | squid_bio_create (BIO *bi) |
initializes BIO table after allocation More... | |
static int | squid_bio_destroy (BIO *table) |
cleans BIO table before deallocation More... | |
static void | squid_ssl_info (const SSL *ssl, int where, int ret) |
wrapper for Bio::stateChanged() More... | |
void | applyTlsDetailsToSSL (SSL *ssl, Security::TlsDetails::Pointer const &details, Ssl::BumpMode bumpMode) |
Variables | |
static BIO_METHOD | SquidMethods |
Function Documentation
◆ applyTlsDetailsToSSL()
void applyTlsDetailsToSSL | ( | SSL * | ssl, |
Security::TlsDetails::Pointer const & | details, | ||
Ssl::BumpMode | bumpMode | ||
) |
Definition at line 570 of file bio.cc.
References SBuf::append(), Ssl::bumpMode(), Ssl::bumpPeek, SBuf::c_str(), SBuf::isEmpty(), SSL_CIPHER_find(), and Security::Tls1p2orEarlier().
Referenced by Ssl::PeekingPeerConnector::initialize().
◆ squid_bio_create()
|
static |
◆ squid_bio_ctrl()
|
static |
Definition at line 498 of file bio.cc.
References assert, BIO_get_data(), BIO_get_init(), BIO_set_data(), BIO_set_init(), Security::Io::BIO_TO_SERVER, debugs, and Ssl::Bio::flush().
Referenced by Ssl::Bio::Create().
◆ squid_bio_destroy()
|
static |
Definition at line 463 of file bio.cc.
References BIO_get_data(), and BIO_set_data().
Referenced by Ssl::Bio::Create().
◆ squid_bio_puts()
|
static |
Definition at line 490 of file bio.cc.
References assert, and squid_bio_write().
Referenced by Ssl::Bio::Create().
◆ squid_bio_read()
Definition at line 481 of file bio.cc.
References assert, BIO_get_data(), Ssl::Bio::read(), and size.
Referenced by Ssl::Bio::Create().
◆ squid_bio_write()
Definition at line 472 of file bio.cc.
References assert, BIO_get_data(), size, and Ssl::Bio::write().
Referenced by Ssl::Bio::Create(), and squid_bio_puts().
◆ squid_ssl_info()
Variable Documentation
◆ SquidMethods
|
static |
Initialization structure for the BIO table with Squid-specific methods and BIO method wrappers.
Definition at line 48 of file bio.cc.
Referenced by Ssl::Bio::Create().
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products