It's a little awkward, but you can close a client with grpc.closeClient(client). That just closes the channel, though, so if that didn't work, that's a bug. I don't recognize the names "CloseWait" and "FinWait2", can you be more specific about how this is failing?
On Tue, Feb 14, 2017 at 7:54 PM Francesco Lazzarino <[email protected]> wrote: > In node.js how do you close a client? There doesn't seem to be a method on > a Client for that. > > I tried to close the underlying Channel (on macOS), but the result is that > the server's connection seems to be left in CloseWait, and the client > leaves a connection stuck in FinWait2. > > This scenario seems like it might consume OS and network infrastructure > resources unnecessarily. > > Can someone add some clarity to the situation? > > Thanks in advance, > > – Franco > > -- > You received this message because you are subscribed to the Google Groups " > grpc.io" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/grpc-io. > To view this discussion on the web visit > https://groups.google.com/d/msgid/grpc-io/70194916-b14e-415e-8609-50e88ff138d0%40googlegroups.com > <https://groups.google.com/d/msgid/grpc-io/70194916-b14e-415e-8609-50e88ff138d0%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CAPK2-4eA804KD7CWndTKSBkCm4LrmHWheHzmOc_Wsj2iFXNwbA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
smime.p7s
Description: S/MIME Cryptographic Signature
