Commit f358019e authored by knowledge4igor's avatar knowledge4igor

Tiny change

parent 0884a9ec
...@@ -107,9 +107,6 @@ struct Connection : public std::enable_shared_from_this<Connection> { ...@@ -107,9 +107,6 @@ struct Connection : public std::enable_shared_from_this<Connection> {
std::string dump() const; std::string dump() const;
private: private:
struct sockaddr_in saddr;
void processRequestQueue(); void processRequestQueue();
struct RequestEntry { struct RequestEntry {
...@@ -129,6 +126,7 @@ private: ...@@ -129,6 +126,7 @@ private:
OnDone onDone; OnDone onDone;
}; };
struct sockaddr_in saddr;
std::unique_ptr<RequestEntry> requestEntry; std::unique_ptr<RequestEntry> requestEntry;
std::atomic<uint32_t> state_; std::atomic<uint32_t> state_;
ConnectionState connectionState_; ConnectionState connectionState_;
......
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