proxygen
|
#include <FizzServer.h>
Public Member Functions | |
void | accept (folly::Executor *executor, std::shared_ptr< const FizzServerContext > context, std::shared_ptr< ServerExtensions > extensions=nullptr) |
void | newTransportData () |
Buf | getEarlyEkm (folly::StringPiece label, const Buf &context, uint16_t length) const |
Public Member Functions inherited from fizz::FizzBase< Derived, ActionMoveVisitor, StateMachine > | |
FizzBase (const typename StateMachine::StateType &state, folly::IOBufQueue &transportReadBuf, ActionMoveVisitor &visitor, folly::DelayedDestructionBase *owner) | |
void | writeNewSessionTicket (WriteNewSessionTicket writeNewSessionTicket) |
void | appWrite (AppWrite appWrite) |
void | earlyAppWrite (EarlyAppWrite appWrite) |
void | appClose () |
void | waitForData () |
void | newTransportData () |
void | moveToErrorState (const folly::AsyncSocketException &ex) |
bool | inErrorState () const |
bool | actionProcessing () const |
Buf | getEkm (folly::StringPiece label, const Buf &context, uint16_t length) const |
Private Member Functions | |
void | startActions (AsyncActions actions) |
Private Attributes | |
bool | checkV2Hello_ {false} |
Friends | |
class | FizzBase< FizzServer< ActionMoveVisitor, SM >, ActionMoveVisitor, SM > |
Additional Inherited Members | |
Protected Member Functions inherited from fizz::FizzBase< Derived, ActionMoveVisitor, StateMachine > | |
void | processActions (typename StateMachine::CompletedActions actions) |
void | addProcessingActions (typename StateMachine::ProcessingActions actions) |
Protected Attributes inherited from fizz::FizzBase< Derived, ActionMoveVisitor, StateMachine > | |
StateMachine | machine_ |
const StateMachine::StateType & | state_ |
folly::IOBufQueue & | transportReadBuf_ |
Definition at line 21 of file FizzServer.h.
void fizz::server::FizzServer< ActionMoveVisitor, SM >::accept | ( | folly::Executor * | executor, |
std::shared_ptr< const FizzServerContext > | context, | ||
std::shared_ptr< ServerExtensions > | extensions = nullptr |
||
) |
Definition at line 13 of file FizzServer-inl.h.
References folly::gen::move.
Buf fizz::server::FizzServer< ActionMoveVisitor, SM >::getEarlyEkm | ( | folly::StringPiece | label, |
const Buf & | context, | ||
uint16_t | length | ||
) | const |
Returns an exported key material derived from the early secret of the TLS connection. Throws if the early secret is not available.
Definition at line 46 of file FizzServer-inl.h.
References fizz::Exporter::getEkm(), and fizz::test::label.
void fizz::server::FizzServer< ActionMoveVisitor, SM >::newTransportData | ( | ) |
Definition at line 23 of file FizzServer-inl.h.
References fizz::server::detail::actions(), fizz::server::AttemptVersionFallback::clientHello, fizz::server::Error, fizz::server::looksLikeV2ClientHello(), folly::gen::move, and fizz::server::State::state().
|
private |
Definition at line 62 of file FizzServer-inl.h.
References folly::gen::move, fizz::FizzBase< Derived, ActionMoveVisitor, StateMachine >::processActions(), and folly::variant_match().
|
friend |
Definition at line 47 of file FizzServer.h.
|
private |
Definition at line 51 of file FizzServer.h.