diff options
Diffstat (limited to 'net/tools/flip_server/sm_connection.cc')
-rw-r--r-- | net/tools/flip_server/sm_connection.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/tools/flip_server/sm_connection.cc b/net/tools/flip_server/sm_connection.cc index b1dc3c8..b57c5a9 100644 --- a/net/tools/flip_server/sm_connection.cc +++ b/net/tools/flip_server/sm_connection.cc @@ -362,11 +362,13 @@ bool SMConnection::SetupProtocolInterfaces() { VLOG(2) << log_prefix_ << ACCEPTOR_CLIENT_IDENT << (sm_streamer_interface_ ? "Creating" : "Reusing") << " PROXY Streamer interface."; - if (!sm_streamer_interface_) + if (!sm_streamer_interface_) { sm_streamer_interface_ = new StreamerSM(this, NULL, epoll_server_, acceptor_); + sm_streamer_interface_->set_is_request(); + } sm_interface_ = sm_streamer_interface_; // If spdy is not negotiated, the streamer interface will proxy all // data to the origin server. |