wire up remote settings application
This commit is contained in:
		| @@ -1,6 +1,6 @@ | ||||
| use {hpack, ConnectionError, FrameSize}; | ||||
| use frame::{self, Frame}; | ||||
| use proto::ReadySink; | ||||
| use proto::{ConnectionTransporter, ReadySink}; | ||||
|  | ||||
| use futures::*; | ||||
| use tokio_io::{AsyncRead, AsyncWrite}; | ||||
| @@ -78,6 +78,16 @@ impl<T, B> FramedWrite<T, B> | ||||
|     } | ||||
| } | ||||
|  | ||||
| impl<T, B> ConnectionTransporter for FramedWrite<T, B> { | ||||
|     fn apply_local_settings(&mut self, _set: &frame::SettingSet) -> Result<(), ConnectionError> { | ||||
|         Ok(()) | ||||
|     } | ||||
|  | ||||
|     fn apply_remote_settings(&mut self, _set: &frame::SettingSet) -> Result<(), ConnectionError> { | ||||
|         Ok(()) | ||||
|     } | ||||
| } | ||||
|  | ||||
| impl<T, B> Sink for FramedWrite<T, B> | ||||
|     where T: AsyncWrite, | ||||
|           B: Buf, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user