proxygen
|
Enumerations | |
enum | CookieHasGroup : uint8_t { No = 0, Yes = 1 } |
Functions | |
template<typename... Args> | |
Actions | actions (Args &&...act) |
Buf | encodeCookie (const CookieState &state) |
CookieState | decodeCookie (Buf cookie) |
AsyncActions | processEvent (const State &state, Param param) |
Actions | handleError (const State &state, ReportError error, Optional< AlertDescription > alertDesc) |
Actions | handleAppClose (const State &state) |
Actions | handleInvalidEvent (const State &state, Event event, Param param) |
Actions fizz::server::detail::actions | ( | Args &&... | act | ) |
Definition at line 57 of file Actions.h.
References fizz::detail::addAction().
Referenced by fizz::server::test::actions(), fizz::server::test::AsyncFizzServerTest::expectAppClose(), fizz::sm::generateTicket(), fizz::sm::getCertificateRequest(), handleAppClose(), handleError(), handleInvalidEvent(), fizz::server::FizzServer< ActionMoveVisitor, SM >::newTransportData(), processEvent(), fizz::server::ServerStateMachine::processSocketData(), and fizz::server::test::TEST_F().
|
inline |
Definition at line 40 of file AeadCookieCipher-inl.h.
References group, fizz::detail::read(), and Yes.
Referenced by fizz::server::AeadCookieCipher< AeadType, HkdfType >::decrypt().
|
inline |
Definition at line 20 of file AeadCookieCipher-inl.h.
References fizz::server::CookieState::appToken, fizz::server::CookieState::chloHash, fizz::server::CookieState::cipher, folly::IOBuf::create(), fizz::server::CookieState::group, No, fizz::server::CookieState::version, fizz::detail::write(), and Yes.
Referenced by fizz::server::AeadCookieCipher< AeadType, HkdfType >::getStatelessResponse().
Definition at line 243 of file ServerProtocol.cpp.
References actions(), fizz::alert, fizz::close_notify, fizz::WriteToSocket::contents, fizz::server::Error, folly::gen::move, fizz::detail::write(), fizz::WriteRecordLayer::writeAlert(), and fizz::server::State::writeRecordLayer().
Referenced by fizz::server::ServerStateMachine::processAppClose().
Actions fizz::server::detail::handleError | ( | const State & | state, |
ReportError | error, | ||
Optional< AlertDescription > | alertDesc | ||
) |
Definition at line 220 of file ServerProtocol.cpp.
References actions(), fizz::alert, fizz::WriteToSocket::contents, fizz::server::Error, folly::gen::move, fizz::server::State::state(), fizz::detail::write(), fizz::WriteRecordLayer::writeAlert(), and fizz::server::State::writeRecordLayer().
Referenced by processEvent(), and fizz::server::ServerStateMachine::processSocketData().
Definition at line 260 of file ServerProtocol.cpp.
References folly::netops::accept(), actions(), fizz::Alert, fizz::alert, context, folly::pushmi::executor, folly::gen::move, folly::none, fizz::server::State::state(), fizz::toString(), and fizz::unexpected_message.
AsyncActions fizz::server::detail::processEvent | ( | const State & | state, |
Param | param | ||
) |
Definition at line 180 of file ServerProtocol.cpp.
References actions(), folly::apply_visitor(), folly::exception_wrapper::get_exception(), fizz::FizzException::getAlert(), fizz::sm::StateMachine< SM >::getHandler(), handleError(), folly::gen::move, fizz::server::State::state(), fizz::unexpected_message, and folly::variant_match().
Referenced by fizz::server::ServerStateMachine::processAccept(), fizz::server::ServerStateMachine::processAppWrite(), fizz::server::ServerStateMachine::processEarlyAppWrite(), fizz::server::ServerStateMachine::processSocketData(), and fizz::server::ServerStateMachine::processWriteNewSessionTicket().