- 23 Jan, 2015 15 commits
-
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Jeromy authored
-
Juan Batiz-Benet authored
Not sure this works. we dont have tests for net diag. We should make some. cc @whyrusleeping.
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
See the discussion below. A future commit will implement the closer change below, and rebase this one on top. <•jbenet> `n.Diagnostics.GetDiagnostic(time.Second * 20)` is not being respected. should it use a context instead? or is it a timeout because the timeout is sent to other nodes? <•jbenet> oh it's that the io doesnt respect the context so we're stuck waiting for responses. <•jbenet> this is that complex interface point between the world of contexts, and the world of io. ctxutil.Reader/Writer is made for this, but you have to make sure to defer close the stream. (see how dht_net uses it). i'd love to find a safer interface. not sure what it is, but we have to a) respect contexts, and b) allow using standard io.Reader/Writers. Maybe TRTTD <•jbenet> is have ctxutil.Reader/Writer take ReadCloser and WriteClosers and always close them. the user _must_ pass an ioutil. NopCloser to avoid ctxutil closing on you when you dont want it to. <•jbenet> this seems safer to me in the general case.
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
reuseport: respect dialer timeout
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Jeromy Johnson authored
fix interface for coreunix.Cat, now takes a path
-
Jeromy authored
-
- 22 Jan, 2015 13 commits
-
-
Brian Tiger Chow authored
refactor(core) extract http
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
PACKAGE DOCUMENTATION package corehttp FUNCTIONS func GatewayOption(n *core.IpfsNode, mux *http.ServeMux) error func ListenAndServe(n *core.IpfsNode, addr ma.Multiaddr, options ...ServeOption) error func WebUIOption(n *core.IpfsNode, mux *http.ServeMux) error TYPES type ServeOption func(*core.IpfsNode, *http.ServeMux) error func DaemonOption(cctx commands.Context) ServeOption
-
Brian Tiger Chow authored
Miscellaneous changes
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
The area above the lock was getting big. Moving this up to avoid mistakes down the road.
-
Brian Tiger Chow authored
closes #394 https://github.com/jbenet/go-ipfs/issues/394
-
Juan Batiz-Benet authored
initial implementation of repo-gc command
-
Brian Tiger Chow authored
fix #424: when adding blocks, provide to exchange asynchronously
-
Jeromy authored
-
- 21 Jan, 2015 12 commits
-
-
Brian Tiger Chow authored
-
Jeromy authored
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
@jbenet would like it to work this way
-
Brian Tiger Chow authored
@jbenet
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
Jeromy authored
-