[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Core Dump when PagePool/WebTraf - Page Size > 1?
> Therefore, it leads to the warning and abort sequence when session
> ended because curPage_ != donePage_.
>
> Exchanging the order of TimerHandler::handle(e) and ++curPage_
> will solve this problem.
It is *donePage_* that should be moved, but curPage_ stuff in handle() is
exactly what should be. curPage_ represents how many pages have been
launched so far, and when it is equal to nPage_, the session will not
launch the *next* page. However, this session should only be deleted when
all of its pages were done. This is why donePage_ was previously placed in
the wrong place, but curPage_ is not.
All these patches should have appeared in today's snapshot.
- Haobo