Skip to content

Commit 6e6a7da

Browse files
committed
Issue #4 : remove unneeded commit on tx_buff
1 parent a628464 commit 6e6a7da

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/bredis/impl/connection.ipp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ Connection<NextLayer>::async_write(DynamicBuffer &tx_buff,
3333
std::ostream os(&tx_buff);
3434
auto string = boost::apply_visitor(command_serializer_visitor(), command);
3535
os.write(string.c_str(), string.size());
36-
tx_buff.commit(string.size());
3736

3837
real_handler_t handler(std::forward<WriteCallback>(write_callback));
3938
return async_write(stream_, tx_buff, handler);

0 commit comments

Comments
 (0)