Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
sniper00 committed Sep 15, 2023
1 parent e33cbfe commit aefb4a3
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions moon-src/core/network/stream_connection.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,10 @@ namespace moon
template <typename... Args>
explicit stream_connection(Args&&... args)
:base_connection_t(std::forward<Args>(args)...)
,response_(8192,0)
{
}

void start(bool accepted, const std::string& payload) override
{
base_connection_t::start(accepted, payload);
response_ = message{ 8192, 0 };
}

void read(size_t n, std::string_view delim, int32_t sessionid) override
{
if (!is_open() || sessionid_ != 0)
Expand Down

0 comments on commit aefb4a3

Please sign in to comment.