https://github.com/etcd-io/etcd
Revision fc95ec0cc60f2070fa7d9367bc94b06afb994e33 authored by Yicheng Qin on 24 August 2015, 14:28:36 UTC, committed by Yicheng Qin on 25 August 2015, 15:54:13 UTC
This problem is totally fixed at 1.5.

go1.5 adds a Request.Cancel channel, which allows for "race free"
cancellation
(https://github.com/golang/go/commit/8b4278ffb75e79c277bfa90c5e473bfad9f7c1bd).
Our implementation relies on it to always cancel in-flight request.
1 parent 514c437
History
Tip revision: fc95ec0cc60f2070fa7d9367bc94b06afb994e33 authored by Yicheng Qin on 24 August 2015, 14:28:36 UTC
rafthttp: always cancel in-flight request when stop streamReader
Tip revision: fc95ec0
File Mode Size
Documentation
Godeps
client
discovery
error
etcdctl
etcdctlv3
etcdmain
etcdserver
hack
integration
logos
pkg
proxy
raft
rafthttp
scripts
snap
storage
store
tools
version
wal
.dockerignore -rw-r--r-- 5 bytes
.gitignore -rw-r--r-- 107 bytes
.godir -rw-r--r-- 23 bytes
.header -rw-r--r-- 589 bytes
.travis.yml -rw-r--r-- 127 bytes
CONTRIBUTING.md -rw-r--r-- 2.1 KB
DCO -rw-r--r-- 1.4 KB
Dockerfile -rw-r--r-- 47 bytes
LICENSE -rw-r--r-- 11.1 KB
MAINTAINERS -rw-r--r-- 157 bytes
NOTICE -rw-r--r-- 126 bytes
Procfile -rw-r--r-- 1.4 KB
README.md -rw-r--r-- 4.6 KB
ROADMAP.md -rw-r--r-- 1.2 KB
build -rwxr-xr-x 565 bytes
build.bat -rw-r--r-- 941 bytes
cover -rwxr-xr-x 638 bytes
main.go -rw-r--r-- 1.1 KB
test -rwxr-xr-x 2.2 KB

README.md

back to top