Closed pantaopt closed 6 years ago
Hi @pantaopt, thank you for your contribution. In which scenario this happens? Would it be possible to write test case that reproduces it?
@jcavar I am so sorry for response you so later!!!I am busing a litte,so so sorry!
@jcavar In fact,I'm not very good at write test。I need to learn how to write it.
No problem, can you provide more info in which situations this could happen?
I used this library for a long time.I think the judgment conditions should be added outside before connection. Example for, if (!host || host.length<=0).I am closing this pr. Thank you very much for contributing this library!
Close stream when stream.steamStatus != NSStreamStatusOpen,will crash EXC_GUARD