etcd/pkg
Yicheng Qin e117f36e48 pkg/types: fix unwanted unescape in NewURLsMap
We use url.ParseQuery to parse names-to-urls string, but it has side
effect that unescape the string. If the initial-cluster string has ipv6
which contains `%25`, it will unescape it to `%` and make further url
parse failed.

Fix it by modifiying the parse process.

Go1.4 doesn't support literal IPv6 address w/ zone in
URI(https://github.com/golang/go/issues/6530), so we only enable tests
in Go1.5+.
2015-10-05 14:54:17 -07:00
..
cors cors: Removed new(?) header from test, resolving failure 2015-08-27 15:23:14 -04:00
crc pkg/crc: add test 2015-01-13 11:07:18 -08:00
fileutil etcdserver: forbid to unset v3 demo once used 2015-09-14 21:27:11 -07:00
flags pkg/flags: print out evn usage information 2015-08-27 12:08:31 -07:00
httputil rafthttp: always cancel in-flight request when stop streamReader 2015-08-25 08:54:13 -07:00
idutil *: switch to line comments for copyright 2015-01-26 09:53:30 -08:00
ioutil *: switch to line comments for copyright 2015-01-26 09:53:30 -08:00
netutil etcdhttp/auth: BasicAuth method in standard pkg 2015-09-28 14:02:55 -07:00
osutil *:godep log pkg 2015-06-11 14:22:14 -07:00
pathutil pkg/pathutil: change copyright for path.go 2015-08-18 11:48:22 -07:00
pbutil etcdserver: internal request union 2015-08-05 07:47:10 -07:00
runtime etcdserver: metrics and monitor number of file descriptor 2015-04-08 11:17:48 -07:00
testutil *: fix go vet reported issues 2015-08-22 12:19:02 -05:00
timeutil *: switch to line comments for copyright 2015-01-26 09:53:30 -08:00
transport pkg/transport: fix a data race in TestReadWriteTimeoutDialer 2015-09-30 17:29:24 -07:00
types pkg/types: fix unwanted unescape in NewURLsMap 2015-10-05 14:54:17 -07:00
wait *: add missing license headers 2015-09-15 14:09:01 -07:00
README.md pkg: add README.md 2014-10-26 16:28:48 -07:00

README.md

pkg/ is a collection of utility packages used by etcd without being specific to etcd itself. A package belongs here only if it could possibly be moved out into its own repository in the future.