100 Commits

Author SHA1 Message Date
Steven Allen
4d4b901d17 gx publish 1.6.2 2018-06-22 11:00:57 -07:00
Steven Allen
31e031dc0d
Merge pull request #43 from multiformats/feat/expose-half-close
expose methods from underlying connection types
2018-06-22 18:00:18 +00:00
Steven Allen
a109f8da85 expose methods from underlying connection types
This sucks but I can't think of a better way to do this. We really do want to
expose these features and doing so through type assertions is very go-like.
2018-06-21 14:20:01 -07:00
Steven Allen
8792ba0a88 gx publish 1.6.1 2018-06-08 20:23:09 -07:00
Steven Allen
418f115760
Merge pull request #37 from multiformats/feat/refactor
turn NetListener() method on listener interface into a helper method
2018-06-06 07:13:14 +00:00
Steven Allen
2f3005bbc1 gx publish 1.6.0 2018-03-10 13:04:48 -08:00
Steven Allen
fad8780c0c add test for netlistener wrapper/unwrapper 2018-03-08 13:36:43 -08:00
Steven Allen
1e79033a77 turn NetListener() method on listener interface into a helper method
This method made implementing the manet.Listener interface annoying. Also, this
lets us drop the "use with caution" warning as we're now *wrapping* the listener
instead of exposing internal state.
2018-03-08 13:36:43 -08:00
Steven Allen
97d80565f6
Merge pull request #38 from multiformats/feat/fast-loopback-check
Make the IP loopback check faster
2018-03-08 21:36:10 +00:00
Steven Allen
ef7ebf9dd8 rename, comment, and move loopback prefixes
Helps readers understand what they're looking at.
2018-03-08 13:34:36 -08:00
Steven Allen
d1762038d1 improve test cases for IsIPLoopback 2018-03-08 12:57:53 -08:00
Steven Allen
9d1c543b50 Make the IP loopback check faster
Decapsulate currently allocates a lot and this appears to have been causing some
issues (hard to tell, pprof is misbehaving).

Note: I removed the TODO as this function now *only* checks if we're dealing
with a loopback address. Not sure what `OverIPLoopback` was supposed to mean.

Note 2: Decapsulate actually checked if the IP6 loopback addresses
appeared *anywhere* in the multiadder. However, as we weren't doing this for
IP4, I decided to simplify this and only check prefixes.
2018-03-08 12:52:30 -08:00
Hector Sanjuan
6040dff26d
Merge pull request #35 from multiformats/fix/travis
use standard travis-ci scripts and enable sudo
2018-01-26 10:18:37 +01:00
Steven Allen
eb7107a2fa use standard travis-ci scripts and enable sudo
This should fix CI.

Supersedes #34.
2018-01-25 15:32:05 -08:00
Steven Allen
28713befbf gx publish 1.5.7 2018-01-19 20:51:00 -08:00
Steven Allen
4ce984eed7 gx publish 1.5.6 2017-12-04 23:32:49 +00:00
Lars Gierth
376ba58703 Merge pull request #31 from multiformats/feat/udp
Added UDP datagram packet connection support.
2017-08-13 05:35:25 +02:00
Tom Swindell
49f84c7c45 Added UDP datagram packet connection support.
Signed-off-by: Tom Swindell <t.swindell@rubyx.co.uk>
2017-08-13 04:50:23 +02:00
Jakub Sztandera
f41dec4bb7 Disable OSX
It is slow and causes queue in whole org.
2017-07-11 19:48:49 +02:00
Jeromy
e58d9b98b9 gx publish 1.5.5 2017-07-11 10:30:33 -07:00
Jakub Sztandera
a7b93d1185 Merge pull request #27 from jackkleeman/patch-1
Check for local ip6 addresses with more flexbility
2017-03-28 18:08:41 +02:00
Jakub Sztandera
2b541b7fc2 Merge pull request #26 from multiformats/docs-improvements
README/docs: Improved README, make golint happy
2017-03-28 18:07:09 +02:00
Jack Kleeman
ee4ab58778 Check for local ip6 addresses with more flexbility
Currently IsIPLoopback returns true for any multiaddr starting ip4/127, but only returns true on ip6 addresses that exactly equal ip6/::1. So /ip6/::1/tcp/4001 for example does not return true. Instead we should check whether ip6/::1 is contained in the multiaddr, and to do that I simply decapsulated and checked to see if the result is different. It seems this was not caught by tests as none are present specifically for this function.
2017-03-26 13:33:16 +01:00
Jeromy
6c6b26b274 fix go vet issue 2017-03-23 18:45:49 -07:00
Jeromy
c35c6b25b9 gx publish 1.5.4 2017-03-23 18:44:26 -07:00
Jeromy
8a7f50dbc5 gx publish 1.5.3 2017-03-21 15:20:26 -07:00
Hector Sanjuan
1c4b9a62de README/docs: Improved README, make golint happy
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2017-03-17 15:36:06 +01:00
Jeromy
1854460b37 gx publish 1.5.2 2017-02-01 20:32:54 -08:00
Jeromy
217f15fd01 updating go-multihash 2017-02-01 20:32:49 -08:00
Lars Gierth
ac78277d26 Merge pull request #25 from multiformats/feat/standard-readme
Edit badges, fix links
2017-01-06 23:55:29 +01:00
Richard Littauer
149f0b2bcc Edit badges, fix links
Edit badges, fixed https links, added Travis and Codecov, capitalized README, added year to license
2016-12-26 15:29:30 -05:00
Richard Littauer
4b637b03a2 Fix install 2016-10-14 10:41:42 -04:00
Jeromy Johnson
08107ee53b Merge pull request #19 from multiformats/feature/standardize-readme
Standardized README
2016-10-11 13:50:07 -07:00
Richard Littauer
e3fd702c6e Standardized README
See https://github.com/multiformats/multiformats/issues/13
2016-10-11 16:49:29 -04:00
Jeromy
b3ee630630 gx publish version 1.5.1 2016-10-04 18:33:13 -07:00
Jeromy
00fd7fbe64 gx publish 1.5.0 2016-10-04 16:31:39 -07:00
Richard Littauer
97164e677c Merge pull request #22 from RichardLitt/master
Update README URLs based on HTTP redirects
2016-10-03 16:56:05 -04:00
Richard Littauer
a6b7c13dd1 Update README URLs based on HTTP redirects 2016-09-30 14:54:31 -04:00
jbenet
34f8967f85 updated go-multiaddr 2016-09-19 11:15:34 +08:00
jbenet
9ab71c3495 updated go-multiaddr 2016-09-19 11:14:58 +08:00
jbenet
1720601989 published 1.4.0 2016-09-19 10:32:21 +08:00
jbenet
4cc9fd0c58 go-multiaddr is now at multiformats org 2016-09-19 10:30:07 +08:00
Jeromy
825144c9a2 gx publish v1.3.0 2016-09-15 19:25:39 -07:00
Jeromy
02fe0e22ad error out on unrecognized protocol 2016-09-15 19:24:46 -07:00
Jeromy
9c84e5a32b fix import path change 2016-08-16 22:14:50 -07:00
Jeromy
e296964046 add DialContext method and use DialContext from stdlib 2016-08-16 20:51:05 -07:00
Jeromy
ff394cdaae extract out yamux code in favor of modularity 2016-06-10 15:33:31 -07:00
Jeromy
d4cfd691db add ip+net back in 2016-05-16 14:40:20 -07:00
Jeromy
4508ee69c5 gx publish version 1.1.0 2016-05-16 13:45:55 -07:00
Juan Benet
f355062ea7 Merge pull request #15 from jbenet/feat/pluggable
make multiaddr-net more pluggable
2016-05-16 12:12:07 -07:00