mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-24 16:02:59 +01:00
re-enable start_incoming support
This commit is contained in:
parent
d7762297da
commit
6af2f5d642
@ -22,7 +22,7 @@ use native_tls::TlsAcceptor;
|
||||
#[cfg(feature = "alpn")]
|
||||
use openssl::ssl::{AlpnError, SslAcceptorBuilder};
|
||||
|
||||
use super::channel::WrapperStream;
|
||||
use super::channel::{HttpChannel, WrapperStream};
|
||||
use super::settings::{ServerSettings, WorkerSettings};
|
||||
use super::worker::{Conn, SocketInfo, StopWorker, StreamHandlerType, Worker};
|
||||
use super::{IntoHttpHandler, IoStream, KeepAlive};
|
||||
@ -674,14 +674,13 @@ where
|
||||
{
|
||||
type Result = ();
|
||||
|
||||
fn handle(&mut self, _msg: Conn<T>, _: &mut Context<Self>) -> Self::Result {
|
||||
unimplemented!();
|
||||
/*Arbiter::spawn(HttpChannel::new(
|
||||
fn handle(&mut self, msg: Conn<T>, _: &mut Context<Self>) -> Self::Result {
|
||||
Arbiter::spawn(HttpChannel::new(
|
||||
Rc::clone(self.h.as_ref().unwrap()),
|
||||
msg.io,
|
||||
msg.peer,
|
||||
msg.http2,
|
||||
));*/
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user