bastion-rs / bastion

Highly-available Distributed Fault-tolerant Runtime
https://www.bastion-rs.com
Apache License 2.0
2.79k stars 103 forks source link

Call to bind(addr) never returns in example/tcp-servers #271

Open wnklmnn opened 4 years ago

wnklmnn commented 4 years ago

Hi, I tried running the tcp-servers example but for some reason the call to Handle::<TcpListener>::bind(addr) never seems to return. Trying to use ports below 1024 which should result in a Err show the same behavior.

Since Handle::<TcpListener>::bind(addr) lives in nuclei I pulled down the source for that(https://github.com/vertexclique/nuclei/commit/46086e3c5489795a1d4900865039729ba9e04ec0). Running the tcp-server example works fine.

o0Ignition0o commented 4 years ago

Thanks a lot for narrowing it down, we'll try to have a look at the difference :)

wnklmnn commented 4 years ago

Bisect points to this commit. https://github.com/bastion-rs/bastion/commit/09d28deba98009334b103545a7fae96966fa8c24

o0Ignition0o commented 4 years ago

Thanks for the bisect, it seems like i messed up something while feature gateing :( I ll try to figure it out