proxygen
|
Namespaces | |
detail | |
test | |
Classes | |
class | AsyncFizzClientT |
class | BasicPskCache |
struct | CachedPsk |
class | ClientStateMachine |
struct | ClientTypes |
struct | EarlyDataParams |
class | FizzClient |
class | FizzClientContext |
struct | NewCachedPsk |
class | PskCache |
struct | ReportEarlyHandshakeSuccess |
struct | ReportEarlyWriteFailed |
struct | ReportHandshakeSuccess |
class | State |
class | SynchronizedLruPskCache |
Typedefs | |
using | MutateState = folly::Function< void(State &)> |
using | Action = boost::variant< DeliverAppData, WriteToSocket, ReportHandshakeSuccess, ReportEarlyHandshakeSuccess, ReportEarlyWriteFailed, ReportError, MutateState, WaitForData, NewCachedPsk > |
using | Actions = std::vector< Action > |
using | AsyncFizzClient = AsyncFizzClientT< ClientStateMachine > |
Functions | |
static bool | certIdentityMatch (const Cert *a, const Cert *b) |
bool | earlyParametersMatch (const State &state) |
std::ostream & | operator<< (std::ostream &os, StateEnum state) |
std::ostream & | operator<< (std::ostream &os, ClientAuthType auth) |
using fizz::client::Action = typedef boost::variant< DeliverAppData, WriteToSocket, ReportHandshakeSuccess, ReportEarlyHandshakeSuccess, ReportEarlyWriteFailed, ReportError, MutateState, WaitForData, NewCachedPsk> |
using fizz::client::Actions = typedef std::vector<Action> |
using fizz::client::AsyncFizzClient = typedef AsyncFizzClientT<ClientStateMachine> |
Definition at line 226 of file AsyncFizzClient.h.
using fizz::client::MutateState = typedef folly::Function<void(State&)> |
|
strong |
States for client authentication:
Enumerator | |
---|---|
NotRequested | |
Sent | |
RequestedNoMatch | |
Stored |
|
strong |
Enumerator | |
---|---|
FatalConnectionError |
Treat early data rejection as a fatal error. An EARLY_DATA_REJECTED AsyncSocketException will be delivered to the read callback. |
AutomaticResend |
Automatically resend early data as normal data. Will only be done if the following connection parameters match what was used for early data:
|
Definition at line 16 of file EarlyDataRejectionPolicy.h.
|
strong |
Definition at line 14 of file EarlyDataRejectionPolicy.cpp.
References b, and folly::AsyncTransportCertificate::getIdentity().
Referenced by earlyParametersMatch().
bool fizz::client::earlyParametersMatch | ( | const State & | state | ) |
Definition at line 22 of file EarlyDataRejectionPolicy.cpp.
References fizz::client::State::alpn(), certIdentityMatch(), fizz::client::State::cipher(), fizz::client::State::clientCert(), fizz::client::State::earlyDataParams(), fizz::client::State::serverCert(), and fizz::client::State::version().
Referenced by fizz::client::AsyncFizzClientT< SM >::handleEarlyReject().
|
inline |
Definition at line 560 of file State.h.
References fizz::toString().
|
inline |
Definition at line 565 of file State.h.
References fizz::toString().