<commit_before>#include "WSConnection.h"

#include <boost/bind.hpp>

#include "../Common/BinUtils.h"

#include "IMsgHandler.h"

using namespace HTTP::WebSocket;

Connection::Connection(boost::asio::ip::tcp::socket &&SrcSocket, IMsgHandler *MsgHandler) : HTTP::ConnectionBase(std::move(SrcSocket)),
	SafeStates(SAFE_ALL),
	SilentTime(0), CurrFrameLength(UnknownFrameLength), MyHandler(MsgHandler)
{<commit_msg>WebSocket::Connection: fragmented message processing fix<commit_after>#include "WSConnection.h"

#include <boost/bind.hpp>

#include "../Common/BinUtils.h"

#include "IMsgHandler.h"

using namespace HTTP::WebSocket;

Connection::Connection(boost::asio::ip::tcp::socket &&SrcSocket, IMsgHandler *MsgHandler) : HTTP::ConnectionBase(std::move(SrcSocket)),
	SafeStates(SAFE_ALL),
	SilentTime(0), CurrFrameLength(UnknownFrameLength), FragOpCode(OCN_CONTINUATION),
	MyHandler(MsgHandler)
{
{'fraction_non_alphanumeric': 0.15246636771300448, 'fraction_numerical': 0.002242152466367713, 'mean_word_length': 10.024691358024691, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5989390', 'n_tokens_mistral': 293, 'n_tokens_neox': 289, 'n_words': 45}