Repository navigation
Fix ICMP socket leak in hs.ping - #3419
Conversation
|
I'll try and take a look at it tomorrow (later today I guess at this point...) |
|
@asmagill thanks! There's a bit of commentary in the related bug, but the tl;dr is that At least that is true for the simple case of calling |
|
Yeah, your logic tracks and the code looks good. I'm a little curious as to why the flag is removed in the simplePing method -- I'll try and dig into the actual SimplePing code this weekend and see if I can figure out why and if we're still open to issues in more complex use cases, but from reading the CFSocket stuff in Apple's docs, I agree that this added check is needed. |
|
Thanks! |
No description provided.