mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-25 09:54:47 +01:00
a6b578b648
* Add Close() in closeState to identify the first closer
* Non-first closers get an error
* Reads and Writes from the Conn get an error if the conn was closed
during the Read / Write was running
* The first closer starts _separate_ goroutine draining the c.frameReads channel
* The first closer then waits for the goroutine that fills c.frameReads
to exit
refs
|
||
---|---|---|
.. | ||
base2bufpool | ||
frameconn | ||
heartbeatconn | ||
microbenchmark | ||
stream | ||
timeoutconn | ||
dataconn_client.go | ||
dataconn_debug.go | ||
dataconn_server.go | ||
dataconn_shared.go | ||
dataconn_test.go |