https://github.com/etcd-io/etcd
Revision d431b64d97f24b870b5da06ce92b972b98b6c754 authored by Hitoshi Mitake on 04 January 2017, 15:59:10 UTC, committed by Hitoshi Mitake on 12 January 2017, 02:49:02 UTC
This commit adds a mechanism of handling a case of expired auth token
to clientv3. If a server returns an error code
grpc.codes.Unauthenticated, newRetryWrapper() tries to get a new token
and use it as an option of PerRPCCredential.

Fixes https://github.com/coreos/etcd/issues/7012
1 parent b32a801
History
Tip revision: d431b64d97f24b870b5da06ce92b972b98b6c754 authored by Hitoshi Mitake on 04 January 2017, 15:59:10 UTC
etcdserver, clientv3: handle a case of expired auth token
Tip revision: d431b64
File Mode Size
.github
Documentation
alarm
auth
client
clientv3
cmd
compactor
contrib
discovery
e2e
embed
error
etcdctl
etcdmain
etcdserver
hack
integration
lease
logos
mvcc
pkg
proxy
raft
rafthttp
scripts
snap
store
tools
version
wal
.dockerignore -rw-r--r-- 5 bytes
.gitignore -rw-r--r-- 177 bytes
.godir -rw-r--r-- 23 bytes
.header -rw-r--r-- 593 bytes
.travis.yml -rw-r--r-- 1.0 KB
CONTRIBUTING.md -rw-r--r-- 2.5 KB
DCO -rw-r--r-- 1.4 KB
Dockerfile -rw-r--r-- 177 bytes
Dockerfile-release -rw-r--r-- 198 bytes
LICENSE -rw-r--r-- 11.1 KB
MAINTAINERS -rw-r--r-- 395 bytes
NEWS -rw-r--r-- 1.4 KB
NOTICE -rw-r--r-- 126 bytes
Procfile -rw-r--r-- 1.5 KB
README.md -rw-r--r-- 5.7 KB
ROADMAP.md -rw-r--r-- 1.0 KB
V2Procfile -rw-r--r-- 1.5 KB
build -rwxr-xr-x 1.7 KB
build.bat -rwxr-xr-x 51 bytes
build.ps1 -rw-r--r-- 2.7 KB
cover -rwxr-xr-x 638 bytes
etcd.conf.yml.sample -rw-r--r-- 3.4 KB
glide.lock -rw-r--r-- 4.7 KB
glide.yaml -rw-r--r-- 2.9 KB
main.go -rw-r--r-- 1.1 KB
test -rwxr-xr-x 8.3 KB

README.md

back to top