Tim Spence
Tim Spence
@mpilquist @RaasAhsan I was actually looking at the `StreamForking` code yesterday and it seems like it would be a big win. Would you be interested in me trying to get...
> @TimWSpence I need to take a deeper look at this PR, but you may be interested in the change I just made in [9e6a59b](https://github.com/typelevel/fs2/commit/9e6a59b8490689a2301d843c9587a5d82e6fbdb5). > > In fact I...
@armanbilge thinking about it a bit more, a reference-counted resource wrapper like this might be quite useful generally in cats effect. What do you think?
I can't assign it to myself but I will look into it!
@armanbilge I don't think your change does fix this - we still have https://github.com/typelevel/fs2/pull/3063/files#diff-f11c9120aaf385f6214d8d1a82560c137b058a244c84ad7d8b7126e78b2081aeL128 which means that the lifecycle of the connection is tied to that of the outer server...
> @TimWSpence perhaps I misunderstood the original problem. I'm going on #2289: > > > The larger issue here is that the lifecycles of the server socket and all accepted...
> Well, maybe that's not really the problem 😂 see subsequent comment in [#2289 (comment)](https://github.com/typelevel/fs2/issues/2289#issuecomment-783510663). I'm not sure if FS2 actually needs any changes. I suspect we can do this...
@armanbilge how does this look as a general approach? According to the test failures, the hard shutdown isn't forceful enough yet but wanted to get some feedback on the general...
@armanbilge apologies but I'm probably not going to have time to finish this until the new year but I'll get back on it then. Or feel free to debug native...
This is currently being tracked in https://github.com/lampepfl/dotty/issues/15344 but we are unable to support it for the moment