优化代码
This commit is contained in:
parent
f48e611253
commit
4d42459004
|
|
@ -50,7 +50,7 @@ class HttpBody : public std::enable_shared_from_this<HttpBody>{
|
||||||
public:
|
public:
|
||||||
typedef std::shared_ptr<HttpBody> Ptr;
|
typedef std::shared_ptr<HttpBody> Ptr;
|
||||||
HttpBody(){
|
HttpBody(){
|
||||||
_async_read_thread = WorkThreadPool::Instance().getPoller();
|
// _async_read_thread = WorkThreadPool::Instance().getPoller();
|
||||||
}
|
}
|
||||||
virtual ~HttpBody(){}
|
virtual ~HttpBody(){}
|
||||||
|
|
||||||
|
|
@ -94,7 +94,7 @@ public:
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
private:
|
private:
|
||||||
EventPoller::Ptr _async_read_thread;
|
// EventPoller::Ptr _async_read_thread;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue