On Thursday, April 24, 2014 4:47:55 PM UTC+5:30, Iñaki Baz Castillo wrote: > > 2014-04-24 13:12 GMT+02:00 Atul <[email protected] <javascript:>>: > > Well, when I tried on local client/server scenario, whenever I killed > > client, I always get notification via read_cb (with nread <0) > > In this case also there is no chance my client sent any signal to > server. > > Made me think its reliable way to close handle in read_cb only. > > Not sure really why the same could not be not true for Internet > connections. > > Please, run a tcpdump and you will see that your libuv server DOES > receive a TCP FIN/RST when you kill your client process (even if you > kill it with a KILL signal). > > > > -- > Iñaki Baz Castillo > <[email protected] <javascript:>> >
So I can summarize this as: "When its Internet, TCP FIN/RST will *not always* reach to the server (While on local net it will)" This is alarm for my server design. Thanks for bringing this up really. -- You received this message because you are subscribed to the Google Groups "libuv" 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 http://groups.google.com/group/libuv. For more options, visit https://groups.google.com/d/optout.
