mirror of
https://gitee.com/xia-chu/ZLMediaKit.git
synced 2026-05-22 01:27:50 +08:00
优化代码
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
Block a user