mirror of
https://github.com/joyieldInc/predixy.git
synced 2025-12-24 22:46:41 +08:00
Compare commits
No commits in common. "master" and "7.0.0" have entirely different histories.
@ -103,7 +103,6 @@ Request::~Request()
|
||||
|
||||
void Request::clear()
|
||||
{
|
||||
mConn = nullptr;
|
||||
mRes = nullptr;
|
||||
mHead.clear();
|
||||
mReq.clear();
|
||||
@ -294,7 +293,6 @@ void Request::follow(Request* leader)
|
||||
if (leader == this) {
|
||||
return;
|
||||
}
|
||||
mConn = leader->mConn;
|
||||
mType = leader->mType;
|
||||
mHead = leader->mHead;
|
||||
mReq = leader->mReq;
|
||||
|
||||
@ -71,7 +71,7 @@ public:
|
||||
bool isDone() const;
|
||||
AcceptConnection* connection() const
|
||||
{
|
||||
return mConn;
|
||||
return mLeader ? mLeader->mConn : mConn;
|
||||
}
|
||||
void detach()
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user