Commit Briefs
Merge pull request #24 from stevvooe/refactor-transport-close
transport: remove race condition on close
transport: remove race condition on close
Signed-off-by: Stephen J Day <stephen.day@docker.com>
Merge pull request #21 from nilium/fix-close-error-race
Fix race-y channel close/error assignment
Fix race-y channel close/error assignment
Data race occurred when assigning to err and then subsequently reading it from anywhere else. Moving the channel close down could potentially help, but far easier to just gate both with a sync.Once since this isn't a code path that seems like it needs to be super-performant. Changes cause CloseWithError to be call-able once, ensuring that there's no case where err is written to while being read (as would happen when closing and reading c.err from another goroutine the moment c.closed is closed). Signed-off-by: Noel Cower <ncower@gmail.com>
Merge pull request #20 from docker/fix-alignment
Fix readme alignment
Fix readme alignment
Signed-off-by: French Ben <frenchben@docker.com>
Merge pull request #19 from docker/badge-badge
Added badge badge
Merged master
Signed-off-by: French Ben <frenchben@docker.com>
Merge pull request #18 from QuentinPerez/patch-1
Little changes
Added badge badge
Signed-off-by: French Ben <frenchben@docker.com>
Merge pull request #17 from docker/add-travisci
Added TravisCI and CodeCov hook
transport: Use Channel interface instead of *channel
Signed-off-by: Quentin Perez <qperez42@gmail.com>
Merge pull request #15 from joushou/tagpool
Rework transport tag allocation logic
Added license badge
Signed-off-by: French Ben <frenchben@docker.com>
Merge pull request #13 from stevvooe/document-exported-functions
lint/vet: address several issues identified by lint/vet