Re: pppac(4): destroy sessions the same way as pppx(4) does

2020-08-16 Thread Vitaliy Makkoveev
On Sat, Aug 15, 2020 at 02:01:52PM +0900, YASUOKA Masahiko wrote: > On Wed, 12 Aug 2020 12:26:22 +0300 > Vitaliy Makkoveev wrote: > > We destroy pppx(4) related sessions while we performing PIPEXDSESSION > > command. But with pppac(4) we set session's state to > > PIPEX_STATE_CLOSE_WAIT2 and we

Re: pppac(4): destroy sessions the same way as pppx(4) does

2020-08-14 Thread YASUOKA Masahiko
On Wed, 12 Aug 2020 12:26:22 +0300 Vitaliy Makkoveev wrote: > We destroy pppx(4) related sessions while we performing PIPEXDSESSION > command. But with pppac(4) we set session's state to > PIPEX_STATE_CLOSE_WAIT2 and we wait garbage collector to do destruction. pppac's PIPEXDSESSION set the

pppac(4): destroy sessions the same way as pppx(4) does

2020-08-12 Thread Vitaliy Makkoveev
We destroy pppx(4) related sessions while we performing PIPEXDSESSION command. But with pppac(4) we set session's state to PIPEX_STATE_CLOSE_WAIT2 and we wait garbage collector to do destruction. We removed `pipex{in,out}q'. So we can safe destroy session in any time. I propose to make pppac(4)