metarhia / jstp

Fast RPC for browser and Node.js based on TCP, WebSocket, and MDSF
https://metarhia.github.io/jstp
Other
142 stars 10 forks source link

tcp: fix listening on port 0 #189

Closed aqrln closed 7 years ago

aqrln commented 7 years ago

Fix invalid condition that conflated port 0 and the absence of port.

aqrln commented 7 years ago

IMO, this change is a trivial enough to land immediately after the CI and a sign-off or two. Especially given the fact that this bug is currently blocking @lundibundi's and @nechaido's work.

aqrln commented 7 years ago

Landed in 804f676fc7e429c4446ac88d5059cbd2bd04514e.