jbenet/go-multiaddr — pull request #12 by ebuchman (2014-11-28 06:36:01+00:00)
Title: S2bpanic

re https://github.com/jbenet/go-multiaddr/pull/11 (used the wrong length check there, believe this one is correct, with tests to prove it, sorry it took so long)

The test commit panics. This should be caught, especially since I can trigger it by editing `~/.go-ipfs/config`, for example by changing one of my swarm listening addresses there to `/ip4` or "/ip4/0.0.0.0/tcp/" and running `ipfs daemon`.

Also, wondering, why are the http/s commented out?