19 class HTTPSessionStats;
39 std::unique_ptr<HTTPCodec>
codec,
43 std::shared_ptr<const PriorityMapFactory> priorityMapFactory =
44 std::shared_ptr<const PriorityMapFactory>()) :
71 std::unique_ptr<HTTPCodec> codec,
75 std::shared_ptr<const PriorityMapFactory> priorityMapFactory =
76 std::shared_ptr<const PriorityMapFactory>()) :
void detachThreadLocals(bool detachSSLContext=false) override
HTTPTransaction * newTransaction(HTTPTransaction::Handler *handler) override
HTTPUpstreamSession(folly::HHWheelTimer *timeout, folly::AsyncTransportWrapper::UniquePtr &&sock, const folly::SocketAddress &localAddr, const folly::SocketAddress &peerAddr, std::unique_ptr< HTTPCodec > codec, const wangle::TransportInfo &tinfo, InfoCallback *infoCallback, uint8_t maxVirtualPri=0, std::shared_ptr< const PriorityMapFactory > priorityMapFactory=std::shared_ptr< const PriorityMapFactory >())
uint8_t maxVirtualPriorityLevel_
HTTPCodecFilterChain codec_
void detachTransactions()
std::unique_ptr< PriorityAdapter > priorityAdapter_
const SocketAddress peerAddr
~HTTPUpstreamSession() override
constexpr detail::Map< Move > move
folly::AsyncTransportWrapper::UniquePtr sock_
bool isReusable() const override
bool isReplaySafe() const override
void handler(int, siginfo_t *, void *)
std::function< void(HTTPCodecFilter *)> FilterIteratorFn
std::unique_ptr< AsyncTransportWrapper, Destructor > UniquePtr
HTTPTransaction::Handler * getTransactionTimeoutHandler(HTTPTransaction *txn) override
void setupOnHeadersComplete(HTTPTransaction *, HTTPMessage *) override
std::shared_ptr< SSLContext > SSLContextPtr
HTTPUpstreamSession(const WheelTimerInstance &timeout, folly::AsyncTransportWrapper::UniquePtr &&sock, const folly::SocketAddress &localAddr, const folly::SocketAddress &peerAddr, std::unique_ptr< HTTPCodec > codec, const wangle::TransportInfo &tinfo, InfoCallback *infoCallback, uint8_t maxVirtualPri=0, std::shared_ptr< const PriorityMapFactory > priorityMapFactory=std::shared_ptr< const PriorityMapFactory >())
void maybeAttachSSLContext(folly::SSLContextPtr sslContext) const
void maybeDetachSSLContext() const
std::shared_ptr< const PriorityMapFactory > priorityMapFactory_
void attachThreadLocals(folly::EventBase *eventBase, folly::SSLContextPtr sslContext, const WheelTimerInstance &timeout, HTTPSessionStats *stats, FilterIteratorFn fn, HeaderCodec::Stats *headerCodecStats, HTTPSessionController *controller) override
virtual folly::Optional< const HTTPMessage::HTTPPriority > getHTTPPriority(uint8_t) override
bool isClosing() const override
bool onNativeProtocolUpgrade(HTTPCodec::StreamID streamID, CodecProtocol protocol, const std::string &protocolString, HTTPMessage &msg) override
const SocketAddress localAddr
void setBufferCallback(BufferCallback *cb)
virtual folly::Optional< const HTTPMessage::HTTPPriority > getHTTPPriority(uint8_t level) override
bool allTransactionsStarted() const override
bool isDetachable(bool checkSocket=true) const override
virtual TransportDirection getTransportDirection() const =0