upgradeupgrade流程

  1. DeviceHTTPService::HandleRequest()
  2. HTTPContext::AcceptRequest()
  3. DeviceHTTPServiceHandler::Start()
  4. HTTPContext::ReadFullRequest()
  5. HTTPContext::Read()
    • RequestState_Content分支,读完数据调用m_oServer.GetContext().AddAlarm(&m_contentNotificationTask, 0)触发timer事件
    • 然后在ExecutionContext::RunTimerTasks()中得以执行:pTask->OnTimeout(*this)
    • 这个m_contentNotificationTask的初始化过程:
      + HTTPContext类构造函数初始化:`m_contentNotificationTask(_ContentNotificationTimeout, this)`
      

      HTTPContext::_ContentNotificationTimeout()调用