Skip to content

port/builtin: RemovePort() block until conn is closed, take 2 + Release v0.14.4#265

Merged
AkihiroSuda merged 4 commits intorootless-containers:masterfrom
AkihiroSuda:dev
Aug 4, 2021
Merged

port/builtin: RemovePort() block until conn is closed, take 2 + Release v0.14.4#265
AkihiroSuda merged 4 commits intorootless-containers:masterfrom
AkihiroSuda:dev

Conversation

@AkihiroSuda
Copy link
Copy Markdown
Member

This reverts commit 72fdd24.

`routineStopCh <- struct{}{}` in `parent.go` can be delivered to the
`copyConnToChild(c, socketPath, spec, stopCh)` routine in `tcp.go`,
so this does not work as expected and has to be reverted.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Alternative to reverted PR 262

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
@AkihiroSuda AkihiroSuda changed the title port/builtin: RemovePort() block until conn is closed, take 2 port/builtin: RemovePort() block until conn is closed, take 2 + Release v0.14.4 Aug 4, 2021
@AkihiroSuda AkihiroSuda merged commit 4702970 into rootless-containers:master Aug 4, 2021
@Luap99
Copy link
Copy Markdown
Contributor

Luap99 commented Aug 4, 2021

Thanks @AkihiroSuda, sorry for missing that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants