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")]
|
#[cfg(feature = "alpn")]
|
||||||
use openssl::ssl::{AlpnError, SslAcceptorBuilder};
|
use openssl::ssl::{AlpnError, SslAcceptorBuilder};
|
||||||
|
|
||||||
use super::channel::WrapperStream;
|
use super::channel::{HttpChannel, WrapperStream};
|
||||||
use super::settings::{ServerSettings, WorkerSettings};
|
use super::settings::{ServerSettings, WorkerSettings};
|
||||||
use super::worker::{Conn, SocketInfo, StopWorker, StreamHandlerType, Worker};
|
use super::worker::{Conn, SocketInfo, StopWorker, StreamHandlerType, Worker};
|
||||||
use super::{IntoHttpHandler, IoStream, KeepAlive};
|
use super::{IntoHttpHandler, IoStream, KeepAlive};
|
||||||
@ -674,14 +674,13 @@ where
|
|||||||
{
|
{
|
||||||
type Result = ();
|
type Result = ();
|
||||||
|
|
||||||
fn handle(&mut self, _msg: Conn<T>, _: &mut Context<Self>) -> Self::Result {
|
fn handle(&mut self, msg: Conn<T>, _: &mut Context<Self>) -> Self::Result {
|
||||||
unimplemented!();
|
Arbiter::spawn(HttpChannel::new(
|
||||||
/*Arbiter::spawn(HttpChannel::new(
|
|
||||||
Rc::clone(self.h.as_ref().unwrap()),
|
Rc::clone(self.h.as_ref().unwrap()),
|
||||||
msg.io,
|
msg.io,
|
||||||
msg.peer,
|
msg.peer,
|
||||||
msg.http2,
|
msg.http2,
|
||||||
));*/
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user