22 class HTTPSessionStats;
34 std::shared_ptr<HTTPCodecFactory> codecFactory);
AcceptorConfiguration accConfig_
virtual void onSessionCreationError(ProxygenError)
std::default_random_engine generator
virtual bool getHttp2PrioritiesEnabled()
constexpr detail::Map< Move > move
HTTPSessionAcceptor & operator=(const HTTPSessionAcceptor &)=delete
bool HTTP2PrioritiesEnabled
virtual HTTPTransaction::Handler * newHandler(HTTPTransaction &txn, HTTPMessage *msg) noexcept=0
requires E e noexcept(noexcept(s.error(std::move(e))))
HTTPSessionAcceptor(const AcceptorConfiguration &accConfig)
virtual size_t dropIdleConnections(size_t num)
void onNewConnection(folly::AsyncTransportWrapper::UniquePtr sock, const folly::SocketAddress *address, const std::string &nextProtocol, wangle::SecureTransportType secureTransportType, const wangle::TransportInfo &tinfo) override
SimpleController simpleController_
void setSessionInfoCallback(HTTPSession::InfoCallback *cb)
std::unique_ptr< AsyncTransportWrapper, Destructor > UniquePtr
void setDefaultErrorPage(std::unique_ptr< HTTPErrorPage > generator)
virtual const HTTPErrorPage * getErrorPage(const folly::SocketAddress &addr) const
HTTPSessionStats * downstreamSessionStats_
void setCodecFactory(std::shared_ptr< HTTPCodecFactory > codecFactory)
std::shared_ptr< HTTPCodecFactory > getCodecFactory()
std::unique_ptr< HTTPErrorPage > diagnosticErrorPage_
virtual HTTPSessionController * getController()
HTTPSession::InfoCallback * getSessionInfoCallback()
HTTPSession::InfoCallback * sessionInfoCb_
std::unique_ptr< HTTPErrorPage > defaultErrorPage_
static const folly::SocketAddress unknownSocketAddress_
folly::AsyncSocket::UniquePtr makeNewAsyncSocket(folly::EventBase *base, int fd) override
ThreadPoolListHook * addr
std::unique_ptr< AsyncSocket, Destructor > UniquePtr
const HTTPErrorPage * getDiagnosticErrorPage() const
void setDiagnosticErrorPage(std::unique_ptr< HTTPErrorPage > generator)
const HTTPErrorPage * getDefaultErrorPage() const
std::shared_ptr< HTTPCodecFactory > codecFactory_
~HTTPSessionAcceptor() override