Closed jan25 closed 3 years ago
@jan25 wow,why not author merge? ci wrong?
@rrylee Let me fix the CI and do few tests when i get a chance. Also i don't have Merge rights, so owners of this repo suggestions on this PR? @soheilhy
@jan25 is there a chance this can be merged?
Hi @Krithika3. I can only try to finish up this PR. I will need maintainers help to review and merge as i don't have the rights. Looks like the last release was more than 2yrs ago, so not sure if this will ever be merged.
@soheilhy Any way to get this merged? https://github.com/grpc/grpc-go expects calls to Accept
to unblock whenever the listeners its using are closed, but since cmux doesn't it Stop
/GracefulStop
block forever. (or something like, reading all this code for the first time and my head hurts, sorry lol)
Hey sorry for the delay. @jan25 can you please add a test for this? otherwise, looks ok.
@soheilhy thanks. I'll finalize this PR soon
@jan25 This PR will be very useful! Do you have an ETA for getting it finished? Thanks for your work on this!
Sorry for late response. I have to fix/add tests, i'll spend some time this week to finish.
I've added tests and fixed other breaking tests. @soheilhy could you please review?
Looks great. Thank you for adding the tests!
So glad to see this great prgress, do we have a plan to draft a new release?
We don't have a nice way to close CMux server. This PR adds a Close method that tries to gracefully stop cmux server.
Related issue: https://github.com/soheilhy/cmux/issues/39