Re: About the phase handlers init

2021-09-04 Thread Jinhua Luo
> Further, when access phase checker decides to skip the access phase when > access is allowed by a handler, and needs to switch to the next phase - it > does not need to switch to post-access phase, but rather to the phase after > it. Hence n++ in the access phase case (and not in the post-acc

Re: About the phase handlers init

2021-09-04 Thread Jinhua Luo
Sorry, typo. My question is why bypass post-access phase? Jinhua Luo 于2021年9月4日周六 下午11:48写道: > > > Further, when access phase checker decides to skip the access phase when > > access is allowed by a handler, and needs to switch to the next phase - it > > does not need to switch to post-access p

Re: About the phase handlers init

2021-09-04 Thread Maxim Dounin
Hello! On Sat, Sep 04, 2021 at 11:51:26PM +0800, Jinhua Luo wrote: > Sorry, typo. My question is why bypass post-access phase? The post-access phase does nothing as long as access is allowed, it is only needed with "satisfy any;" to reject the request with the appropriate status code if no acc