2014-04-24 13:12 GMT+02:00 Atul <[email protected]>: > 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]> -- 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.
