Commit Graph

26 Commits

Author SHA1 Message Date
Henry
92d08db7a5 rewrote import paths of go.net/context to use golang.org/x/context
- updated go-ctxgroup and goprocess
ctxgroup: AddChildGroup was changed to AddChild. Used in two files:
- p2p/net/mock/mock_net.go
- routing/dht/dht.go

- updated context from hg repo to git
prev. commit in hg was ad01a6fcc8a19d3a4478c836895ffe883bd2ceab. (context: make parentCancelCtx iterative)
represents commit 84f8955a887232b6308d79c68b8db44f64df455c in git repo

- updated context to master (b6fdb7d8a4ccefede406f8fe0f017fb58265054c)

Aaron Jacobs (2):
net/context: Don't accept a context in the DoSomethingSlow example.
context: Be clear that users must cancel the result of WithCancel.

Andrew Gerrand (1):
go.net: use golang.org/x/... import paths

Bryan C. Mills (1):
net/context: Don't leak goroutines in Done example.

Damien Neil (1):
context: fix removal of cancelled timer contexts from parent

David Symonds (2):
context: Fix WithValue example code.
net: add import comments.

Sameer Ajmani (1):
context: fix TestAllocs to account for ints in interfaces
2015-02-25 11:58:19 +01:00
Jeromy
abb3c9c9c4 implement path type 2015-01-29 17:51:08 +00:00
Jeromy
26826bd55e implement seeking in the dagreader 2015-01-27 01:33:09 +00:00
Jeromy
e3cf893616 implement recursive indirect blocks
improve efficiency of multilayered indirect blocks

clean up tests

panic cleanup

clean up logic, improve readability

add final root node to the dagservice upon creation

importer: simplified dag generation

test: updated hashes using latest code

@whyrusleeping this is why the sharness tests
were failing: the hashes are added manually to
make sure our generation doesn't change.

cleanup after CR

fix merkledag tests

fix small block generation (no subblocks!)
2015-01-06 19:43:56 +00:00
Juan Batiz-Benet
43452fdeb7 updated multiaddr + multiaddr-net
I broke out multiaddr/net to its own package so
that multiaddr parsing could remain lean. multiaddr-net
will vendor special implementations of protocols (like utp)
2014-11-20 00:58:48 -08:00
Juan Batiz-Benet
8cf765af33 daemon: listen for term signals 2014-11-15 22:11:11 -08:00
Matt Bell
436462c86a server/http: Fixed build error 2014-11-14 03:16:03 -08:00
Matt Bell
b499c90db3 commands/http: Moved HTTP RPC handler into commands/http 2014-11-14 03:16:02 -08:00
Matt Bell
0d830e5a24 server/http: Set Content-Type header based on command output 2014-11-14 03:16:01 -08:00
Matt Bell
12b0ebff7d server/http: Use Response as Reader instead of manually getting output data 2014-11-14 03:16:01 -08:00
Matt Bell
7564742305 server/http: Fixed error when using long encoding option name 2014-11-14 03:16:01 -08:00
Matt Bell
3ae6117c5b server/http: Don't cast res.Error() to an Error (fixes panix on response errors) 2014-11-14 03:16:00 -08:00
Matt Bell
73353824e9 server/http: Added HTTP API handler 2014-11-14 03:16:00 -08:00
Jeromy
8c20921a95 some more docs 2014-11-08 21:42:36 -08:00
Juan Batiz-Benet
917be90437 updated multiaddr for net pkg 2014-10-11 03:07:36 -07:00
Jeromy
093c8fb04d Rework package structure for unixfs and subpackage
cc @jbenet
2014-10-08 21:14:18 +00:00
Juan Batiz-Benet
910a76e220 updated multiaddr use across codebase 2014-10-06 04:13:43 -07:00
verokarhu
f40fbb2462 fix http test 2014-09-30 23:16:55 +03:00
verokarhu
0b0bee6fd5 switch to multiaddr and use /ipfs/ path in http api 2014-09-30 22:59:57 +03:00
verokarhu
8382c797fc use dagreader in servehttp 2014-09-30 22:59:56 +03:00
verokarhu
cf0100c97c vendor github.com/gorilla dependencies 2014-09-30 22:59:55 +03:00
verokarhu
f320023c7b test for posthandler 2014-09-30 22:59:54 +03:00
verokarhu
65f9087689 rewrote test to use separate test interface 2014-09-30 22:59:54 +03:00
verokarhu
436f14b45d test for serveHTTP 2014-09-30 22:59:54 +03:00
verokarhu
c4d55c7bb7 fix compile errors 2014-09-30 22:59:53 +03:00
verokarhu
8eb95faf50 moved http to server/http and implemented serve http subcommand 2014-09-30 22:59:53 +03:00