mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-28 01:52:57 +01:00
Merge branch 'master' into master
This commit is contained in:
commit
7a7df7f8fb
@ -191,7 +191,7 @@ impl Frame {
|
|||||||
unsafe{buf.advance_mut(2)};
|
unsafe{buf.advance_mut(2)};
|
||||||
buf
|
buf
|
||||||
} else {
|
} else {
|
||||||
let mut buf = BytesMut::with_capacity(p_len + 8);
|
let mut buf = BytesMut::with_capacity(p_len + 10);
|
||||||
buf.put_slice(&[one, two | 127]);
|
buf.put_slice(&[one, two | 127]);
|
||||||
{
|
{
|
||||||
let buf_mut = unsafe{buf.bytes_mut()};
|
let buf_mut = unsafe{buf.bytes_mut()};
|
||||||
|
Loading…
Reference in New Issue
Block a user