Merge pull request #93 from seanmonstar/codec-unstable
remove unstable for Codec methods used internally
This commit is contained in:
@@ -232,7 +232,6 @@ impl<T> FramedRead<T> {
|
||||
/// Updates the max frame size setting.
|
||||
///
|
||||
/// Must be within 16,384 and 16,777,215.
|
||||
#[cfg(feature = "unstable")]
|
||||
#[inline]
|
||||
pub fn set_max_frame_size(&mut self, val: usize) {
|
||||
assert!(DEFAULT_MAX_FRAME_SIZE as usize <= val && val <= MAX_MAX_FRAME_SIZE as usize);
|
||||
|
||||
@@ -65,7 +65,6 @@ impl<T, B> Codec<T, B> {
|
||||
/// words, if a frame is currently in process of being decoded with a frame
|
||||
/// size greater than `val` but less than the max frame size in effect
|
||||
/// before calling this function, then the frame will be allowed.
|
||||
#[cfg(feature = "unstable")]
|
||||
#[inline]
|
||||
pub fn set_max_recv_frame_size(&mut self, val: usize) {
|
||||
self.inner.set_max_frame_size(val)
|
||||
|
||||
Reference in New Issue
Block a user