You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
It's impossible to upgrade connection asynchroniously #26
If the response wasn't sent inside RequestHandler::onRequest and is sent later, RequestHandler will recieve EOM instead of upgrade.
I. e. this scenario does not work as expected:
voidEchoHandler::onRequest(std::unique_ptr<HTTPMessage> headers) noexcept {
auto ev = folly::EventBaseManager::get()->getExistingEventBase();
std::thread([=](){
//Do some logic here
ev->runInEventBaseThread([=](){
auto builder = make_unique<ResponseBuilder>(downstream_);
builder->acceptUpgradeRequest(ResponseBuilder::UpgradeType::HTTP_UPGRADE, "websocket");
});
}).detach();
}
Activity
kekekeks commentedon Jan 2, 2015
Oh, sorry. I figured out, that I should call pauseIngress/resumeIngress to do that.
fix invalid-enum-load UBSAN error in SPDYConstants.cpp
add Mononoke integration tests CI (#26)
remove generated thrift code and fix external CI (#26)