uber / tchannel

network multiplexing and framing protocol for RPC
MIT License
1.15k stars 129 forks source link

go: hyperbahn.Client Advertise should fail on ephemeral channels. #1377

Closed prashantv closed 8 years ago

prashantv commented 8 years ago

Calling Advertise on a channel that is not listening now causes an error - since advertising a host:port of 0.0.0.0:0 does not mean anything.

Also adds support for Closing hyperbahn clients so tests do not interfere with each other.

cc: @junchaowu