Skip to content

Commit 50c3620

Browse files
authored
Fix a bug when sending streams (#371)
1 parent 14471b5 commit 50c3620

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

trantor/net/inner/TcpConnectionImpl.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,10 @@ void TcpConnectionImpl::sendStream(
634634
writeBufferList_.push_back(std::move(node));
635635
return;
636636
}
637+
else
638+
{
639+
writeBufferList_.push_back(std::move(node));
640+
}
637641
}
638642
else
639643
{

0 commit comments

Comments
 (0)