Unverified Commit 7bb01321 authored by Igor [hyperxor]'s avatar Igor [hyperxor] Committed by GitHub

Make onInput private in Http handler (#724)

parent 5b3765f0
......@@ -568,9 +568,6 @@ using ResponseParser = Private::ParserImpl<Http::Response>;
class Handler : public Tcp::Handler {
public:
void onInput(const char *buffer, size_t len,
const std::shared_ptr<Tcp::Peer> &peer) override;
void onConnection(const std::shared_ptr<Tcp::Peer> &peer) override;
void onDisconnection(const std::shared_ptr<Tcp::Peer> &peer) override;
......@@ -586,6 +583,8 @@ public:
virtual ~Handler() override {}
private:
void onInput(const char *buffer, size_t len,
const std::shared_ptr<Tcp::Peer> &peer) override;
RequestParser &getParser(const std::shared_ptr<Tcp::Peer> &peer) const;
private:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment