Commit Graph

10483 Commits

Author SHA1 Message Date
Michael Avila
992ec291bc
Give argument intent revealing name (and add comment) 2019-05-29 16:20:33 -07:00
Michael Avila
23e1b1db3a
Use conditional for running provider online
License: MIT
Signed-off-by: Michael Avila <davidmichaelavila@gmail.com>
2019-05-29 16:20:32 -07:00
Michael Avila
9587723911
Remove strategic provider sys constructors
License: MIT
Signed-off-by: Michael Avila <davidmichaelavila@gmail.com>
2019-05-29 16:20:32 -07:00
Michael Avila
4a4a61fb39
Remove unused strategic providing feature flag
License: MIT
Signed-off-by: Michael Avila <davidmichaelavila@gmail.com>
2019-05-29 16:20:32 -07:00
Michael Avila
16ed07b995
Close reprovider in the provider system
License: MIT
Signed-off-by: Michael Avila <davidmichaelavila@gmail.com>
2019-05-29 16:20:32 -07:00
Michael Avila
8f03df805b
Move sharness test helpers
License: MIT
Signed-off-by: Michael Avila <davidmichaelavila@gmail.com>
2019-05-29 16:20:32 -07:00
Michael Avila
cde21e9c55
Remove unnecessary _
License: MIT
Signed-off-by: Michael Avila <davidmichaelavila@gmail.com>
2019-05-29 16:20:32 -07:00
Michael Avila
0b8f0d3a84
Use interface{} for duplicated return type
License: MIT
Signed-off-by: Michael Avila <davidmichaelavila@gmail.com>
2019-05-29 16:20:32 -07:00
Michael Avila
55676a0b86
Remove Ctor from names
License: MIT
Signed-off-by: Michael Avila <davidmichaelavila@gmail.com>
2019-05-29 16:20:31 -07:00
Michael Avila
a87558e02c
Move more cfg out of groups
License: MIT
Signed-off-by: Michael Avila <davidmichaelavila@gmail.com>
2019-05-29 16:20:31 -07:00
Michael Avila
e8c9207da3
Move cfg out to groups
License: MIT
Signed-off-by: Michael Avila <davidmichaelavila@gmail.com>
2019-05-29 16:20:31 -07:00
Michael Avila
ce75f1c18f
Separate imports
License: MIT
Signed-off-by: Michael Avila <davidmichaelavila@gmail.com>
2019-05-29 16:20:31 -07:00
Michael Avila
6d6ce8fba7
Introduce first strategic provider: do nothing
License: MIT
Signed-off-by: Michael Avila <davidmichaelavila@gmail.com>
2019-05-29 16:20:31 -07:00
Steven Allen
6cd273ff83
Merge pull request #6372 from ipfs/feat/0.4.21-releaselog
Add 0.4.21 CHANGELOG
2019-05-29 15:23:42 -07:00
Steven Allen
655b03cb5a CHANGELOG: finish todos 2019-05-29 15:22:01 -07:00
Steven Allen
d53d73b97f
CHANGELOG: fix typos
Co-Authored-By: Michael Avila <michaelavila@users.noreply.github.com>
2019-05-28 10:36:51 -07:00
Steven Allen
8e9adf3aaa
CHANGELOG: apply CR
Co-Authored-By: Dominic Della Valle <ddvpublic@Gmail.com>
2019-05-28 10:17:19 -07:00
Steven Allen
39455605f7 CHANGELOG flesh out for 0.4.21-RC3 2019-05-28 04:21:18 -07:00
Steven Allen
0845786974 CHANGELOG: recursive changes 2019-05-28 04:07:24 -07:00
Steven Allen
8fb4e924fb misc: update mkreleaselog to build a recursive changelog 2019-05-28 04:05:42 -07:00
Jakub Sztandera
f8914f4aee Update CHANGELOG.md
Co-Authored-By: MollyM <momack2@users.noreply.github.com>
2019-05-28 04:05:27 -07:00
Jakub Sztandera
2c8fa10ab5 Add 0.4.21 CHANGELOG
WIP. Please either add or mention in comments what should be featured.

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-05-28 04:05:27 -07:00
Steven Allen
2b41ca17e5
Merge pull request #6379 from ipfs/fix/http-errors
fix: use http.Error for sending errors
2019-05-26 11:45:02 -07:00
Steven Allen
23d35184c3 fix: use http.Error for sending errors
This sets a few headers that prevent browsers from misinterpreting the error
text.
2019-05-25 10:45:17 -07:00
Steven Allen
9847416f12
Merge pull request #6380 from ipfs/fix/app-stop-once
core: call app.Stop once
2019-05-25 10:36:34 -07:00
Łukasz Magiera
7cfb4aa2b4 core: call app.Stop once 2019-05-25 18:42:45 +02:00
Steven Allen
2192ed775d
Merge pull request #6375 from ipfs/momack2-patch-1
explain what dhtclient does
2019-05-23 19:47:15 -07:00
MollyM
1fd6701ea2
explain what dhtclient does 2019-05-23 16:46:27 -07:00
Steven Allen
febdb5539f
Merge pull request #6374 from ipfs/feat/release-v0.4.21-rc3
release: v0.4.21-rc3
2019-05-23 11:03:06 -07:00
Steven Allen
7a185489a5 release: v0.4.21-rc3
This time, we'll actually build it.
2019-05-23 10:54:17 -07:00
Steven Allen
af6cfb5067
Merge pull request #6373 from ipfs/fix/connmgr-tagging
fix race between adding tags and registering services with the connection manager
2019-05-23 10:11:58 -07:00
Steven Allen
72941102dc fix race between adding tags and registering services with the connection manager
Hopefully helps fix #6271 and a bunch of other related issues.
2019-05-23 09:50:22 -07:00
Steven Allen
e8cad1f7f5
Merge pull request #6368 from ipfs/fix/disable-coalesce
disable write coalescing
2019-05-23 09:29:33 -07:00
Steven Allen
e50a8c8c05 fix: disable stream muxer write coalescing
See: https://github.com/libp2p/go-libp2p/issues/644
2019-05-23 09:20:47 -07:00
Steven Allen
da3c2bc1d9
Merge pull request #6366 from ipfs/feat/release-v0.4.21-rc2
release: go-ipfs 0.4.21-rc2
2019-05-22 14:09:18 -07:00
Steven Allen
34a66aa820 release: go-ipfs 0.4.21-rc2 2019-05-22 13:56:06 -07:00
Steven Allen
018b5e994d
Merge pull request #6365 from ipfs/fix/no-read-buffer
remove yamux read buffer
2019-05-22 13:51:51 -07:00
Steven Allen
492baf0d69 ci: update golangci-lint to the latest master
The current version has some build issues.
2019-05-22 13:41:14 -07:00
Steven Allen
7fde2f178a remove yamux read buffer
Accidentally added in #6361. The yamux transport now disables this globally by
default.
2019-05-22 13:28:00 -07:00
Steven Allen
c9b9465264
Merge pull request #6364 from ipfs/dep/updates
dep: update yamux and bitswap
2019-05-22 13:15:06 -07:00
Steven Allen
6225024751 dep: update yamux and bitswap
* yamux: reduce goroutines per connection from 3 to 2.
* bitswap:
  - fix a very slow memory leak
  - adds an option for disabling providing (unused for now)
  - fixes a race condition on start
  - tag peers with outstanding requests in the connection manager
2019-05-22 12:52:30 -07:00
Steven Allen
1852452eee
Merge pull request #6361 from ipfs/fix/6237
dep: update go-libp2p
2019-05-22 12:51:34 -07:00
Steven Allen
1eb701fd75 dep: update go-libp2p
* Write coalescing in yamux and mplex.
* Correctly tag relay streams.
* Reset relay streams instead of closing them. Fixes #6237.
* Trim connections in a background task instead of on-connect.
2019-05-22 11:55:32 -07:00
Steven Allen
480780ecbc
Merge pull request #6362 from ipfs/ci/really-enable-lint
ci: actually enable golangci-lint
2019-05-21 12:50:28 -07:00
Steven Allen
c39ad0b8f9 ci: really enable golangci-lint 2019-05-21 11:10:10 -07:00
Steven Allen
2b84b2ba13 chore: fix linter nits and tests that don't compile 2019-05-21 11:09:57 -07:00
Steven Allen
cf3b6c43d2
Merge pull request #6355 from ipfs/fix/6354
commands/swarm(fix): handle empty multiaddrs
2019-05-20 15:47:31 -07:00
Steven Allen
3aef795c9e commands/p2p(fix): avoid creating empty multiaddrs 2019-05-20 14:57:23 -07:00
Steven Allen
b892db894d dep: update go-multiaddr
Forbids empty multiaddr, fixes #6354
2019-05-20 14:29:26 -07:00
Steven Allen
80f9f34037
Merge pull request #6353 from ipfs/feat/release-v0.4.21-rc1
release v0.4.21-rc1
2019-05-20 13:59:38 -07:00