修改部分BUG
This commit is contained in:
@@ -77,6 +77,7 @@ namespace ylib
|
||||
return m_remote_ipaddress;
|
||||
}
|
||||
ylib::json& extra() { return m_extra; }
|
||||
void extra(ylib::json& e) { m_extra = e; }
|
||||
private:
|
||||
// 请求主机
|
||||
std::string m_host;
|
||||
|
||||
@@ -330,6 +330,9 @@ bool ylib::network::http::response::forward(const std::string& filepath)
|
||||
network::http::reqpack* reqpack = new network::http::reqpack;
|
||||
reqpack->init(m_reqpack->url(),m_reqpack->host(), m_reqpack->data(), m_reqpack->connid(), m_reqpack->server());
|
||||
reqpack->filepath(filepath);
|
||||
reqpack->website(this->website());
|
||||
reqpack->extra(m_reqpack->extra());
|
||||
|
||||
m_reqpack->website()->router()->push(reqpack);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user