mirror of https://github.com/fafhrd91/actix-net
				
				
				
			Merge branch 'master' into mio-0.7.3
This commit is contained in:
		
						commit
						5f763f1234
					
				| 
						 | 
					@ -8,6 +8,9 @@
 | 
				
			||||||
* Remove `AcceptNotify` type and pass `WakerQueue` to `Worker` for wake up the `Accept`'s `Poll`.
 | 
					* Remove `AcceptNotify` type and pass `WakerQueue` to `Worker` for wake up the `Accept`'s `Poll`.
 | 
				
			||||||
* Convert `mio::net::TcpStream` to `actix_rt::net::TcpStream`(`UnixStream` for uds) using `FromRawFd` and `IntoRawFd`(`FromRawSocket` and `IntoRawSocket` on windows).
 | 
					* Convert `mio::net::TcpStream` to `actix_rt::net::TcpStream`(`UnixStream` for uds) using `FromRawFd` and `IntoRawFd`(`FromRawSocket` and `IntoRawSocket` on windows).
 | 
				
			||||||
* Remove `AsyncRead` and `AsyncWrite` trait bound for `socket::FromStream` trait. 
 | 
					* Remove `AsyncRead` and `AsyncWrite` trait bound for `socket::FromStream` trait. 
 | 
				
			||||||
 | 
					* Added explicit info log message on accept queue pause. [#215]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[#215]: https://github.com/actix/actix-net/pull/215
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## 1.0.4 - 2020-09-12
 | 
					## 1.0.4 - 2020-09-12
 | 
				
			||||||
* Update actix-codec to 0.3.0.
 | 
					* Update actix-codec to 0.3.0.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -268,6 +268,7 @@ impl Accept {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    fn deregister_all(&self, sockets: &mut Slab<ServerSocketInfo>) {
 | 
					    fn deregister_all(&self, sockets: &mut Slab<ServerSocketInfo>) {
 | 
				
			||||||
        sockets.iter_mut().for_each(|(_, info)| {
 | 
					        sockets.iter_mut().for_each(|(_, info)| {
 | 
				
			||||||
 | 
					            info!("Accepting connections on {} has been paused", info.addr);
 | 
				
			||||||
            let _ = self.deregister(info);
 | 
					            let _ = self.deregister(info);
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue