Skip to content

Commit 7b8bcc6

Browse files
committed
bugfix: response payload of REQUEST_RESPONSE will be sent with NEXT|COMPLETE flag.
1 parent cc71ca6 commit 7b8bcc6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/transport/socket.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,8 @@ impl DuplexSocket {
289289
let sending = match result {
290290
Ok(it) => {
291291
let (d, m) = it.split();
292-
let mut bu = frame::Payload::builder(sid, frame::FLAG_COMPLETE);
292+
let mut bu =
293+
frame::Payload::builder(sid, frame::FLAG_NEXT | frame::FLAG_COMPLETE);
293294
if let Some(b) = d {
294295
bu = bu.set_data(b);
295296
}

0 commit comments

Comments
 (0)