Created
April 11, 2019 05:07
-
-
Save derekargueta/5b8437cd3dfbd6f954530e2d0b9090db to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void FilterManagerImpl::addReadFilter(ReadFilterSharedPtr filter) { | |
ASSERT(connection_.state() == Connection::State::Open); | |
ActiveReadFilterPtr new_filter(new ActiveReadFilter{*this, filter}); | |
filter->initializeReadFilterCallbacks(*new_filter); | |
new_filter->moveIntoListBack(std::move(new_filter), upstream_filters_); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment