- 08 Feb, 2015 3 commits
-
-
Kevin Wallace authored
License: MIT Signed-off-by: Kevin Wallace <kevin@pentabarf.net>
-
Kevin Wallace authored
This allows someone to host a static site by pointing a TXT record at their content in IPFS, and a CNAME record at an IPFS gateway. Note that such a setup technically violates RFC1912 (section 2.4; "A CNAME record is not allowed to coexist with any other data."), but tends to work in practice. We may want to consider changing the DNS->IPFS resolution scheme to allow this scenario to be RFC-compliant (e.g. store the mapping on a well-known subdomain to allow CNAME records on the domain itself). License: MIT Signed-off-by: Kevin Wallace <kevin@pentabarf.net>
-
Kevin Wallace authored
Each option now additionally returns the mux to be used by future options. If every options returns the mux it was passed, the current behavior is unchanged. However, if the option returns an a new mux, it can mediate requests to handlers provided by future options: return func(n *core.IpfsNode, mux *http.ServeMux) (*http.ServeMux, error) { childMux := http.NewServeMux() mux.Handle("/", handlerThatDelegatesToChildMux) return childMux, nil } License: MIT Signed-off-by: Kevin Wallace <kevin@pentabarf.net>
-
- 07 Feb, 2015 4 commits
-
-
Juan Batiz-Benet authored
go-multihash update
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
gateway: dont cache ipns paths
-
Juan Batiz-Benet authored
ipns paths are mutable and should not be cached. this error is a byproduct of the currently messy gateway route. We should split the /ipfs and /ipns routes up.
-
- 06 Feb, 2015 9 commits
-
-
Juan Batiz-Benet authored
ratelimiter: fixing rate limiter use
-
Juan Batiz-Benet authored
Use of the ratelimiter should be conscious of the ratelimiter's potential closing. any loops that add work to ratelimiter should (a) only do so if the rate limiter is not closed, or (b) prevent limiter while work is added (i.e. use limiter.Go(addWorkHere))
-
Brian Tiger Chow authored
since construction can fail, and construction is non-trivial, it's probably safer to never assume resource exists. cc @jbenet @whyrusleeping
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
exposed the Decider to make configuration nicer @mappum
-
Brian Tiger Chow authored
decalarative configuration is superior. the thread-safety because important during normal operation
-
Brian Tiger Chow authored
-
Juan Batiz-Benet authored
corehttp: allow all webui paths we published.
-
Juan Batiz-Benet authored
Otherwise we break users links! cc @mappum
-
- 05 Feb, 2015 18 commits
-
-
Juan Batiz-Benet authored
p2p/protocol/identity: smarter tracking observed addrs
-
Juan Batiz-Benet authored
- time them out (already was doing that with addrbook) - keep count to counter symmetric nats
-
Juan Batiz-Benet authored
routing/kbucket: fix data race
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
Gateway Changes
-
Matt Bell authored
-
Juan Batiz-Benet authored
Add ipfs-test-lib.sh
-
Matt Bell authored
-
Matt Bell authored
-
Matt Bell authored
-
Matt Bell authored
-
Brian Tiger Chow authored
add blocklist to gateway executable
-
Matt Bell authored
-
Matt Bell authored
-
Matt Bell authored
-
Brian Tiger Chow authored
log fix main
-
Brian Tiger Chow authored
use pointer use func comment on decider to clarify whether it allows or denies fix set conf gstw
-
- 04 Feb, 2015 6 commits
-
-
Brian Tiger Chow authored
This reverts commit bbcc86b7. humanize is required for sharness. doh!
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
Jeromy Johnson authored
implement metadata node for unixfs and other
-
Jeromy authored
-
Jeromy authored
-