[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Core Dump when PagePool/WebTraf - Page Size > 1?
On Fri, 3 Dec 1999, Haobo Yu wrote:
> > > object is deleted. To fix this I ensured that no more WebPages were
> > > started by adding
> > > a donePage_ check to the WebTrafSession::expire() function.
>
> Rather than adding a check in expire(), the doneSession() stuff in
> handle() should be moved to donePage() so that when all pages are done
> the session is removed. Currently the session is removed when the last
> page is scheduled, which is clearly a bug.
>
curPage_ should also be initialized to be 1, since one page is already
being loaded when the session begins.
Guo, Liang.