projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use inbound/outbound handlers in a few more places
[folly.git]
/
folly
/
wangle
/
codec
/
ByteToMessageCodec.cpp
diff --git
a/folly/wangle/codec/ByteToMessageCodec.cpp
b/folly/wangle/codec/ByteToMessageCodec.cpp
index 52ee794ffffe1a220750332a308d9e8679369f80..e16183bbc3e164addb5e752a36901149a29d64ed 100644
(file)
--- a/
folly/wangle/codec/ByteToMessageCodec.cpp
+++ b/
folly/wangle/codec/ByteToMessageCodec.cpp
@@
-23,8
+23,7
@@
void ByteToMessageCodec::read(Context* ctx, IOBufQueue& q) {
while (true) {
result = decode(ctx, q, needed);
if (result) {
- q_.append(std::move(result));
- ctx->fireRead(q_);
+ ctx->fireRead(std::move(result));
} else {
break;
}