Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: strongswan/govici

Tags

v0.7.0

Toggle v0.7.0's commit message
CHANGELOG.md: bump version to v0.7.0

Signed-off-by: Nick Rosbrook <[email protected]>

v0.6.1

Toggle v0.6.1's commit message
CHANGELOG.md: bump version to v0.6.1

Signed-off-by: Nick Rosbrook <[email protected]>

v0.6.0

Toggle v0.6.0's commit message
CHANGELOG.md: bump version to v0.6.0

Signed-off-by: Nick Rosbrook <[email protected]>

v0.6.0-rc2

Toggle v0.6.0-rc2's commit message
CHANGELOG.md: bump version to v0.6.0-rc2

Signed-off-by: Nick Rosbrook <[email protected]>

v0.6.0-rc1

Toggle v0.6.0-rc1's commit message
CHANGELOG.md: add recent changes

Signed-off-by: Nick Rosbrook <[email protected]>

v0.5.2

Toggle v0.5.2's commit message
CHANGELOG.md: bump version to v0.5.2

Signed-off-by: Nick Rosbrook <[email protected]>

v0.5.1

Toggle v0.5.1's commit message
CHANGELOG.md: bump version to v0.5.1

Signed-off-by: Nick Rosbrook <[email protected]>

v0.5.0

Toggle v0.5.0's commit message
CHANGELOG.md: bump version to v0.5.0

Signed-off-by: Nick Rosbrook <[email protected]>

v0.4.1

Toggle v0.4.1's commit message
events: correctly handle io.EOF in listen()

When an event is registered, and the event listener's transport closes
for some reason (e.g. charon is stopped) Session.Close() will never
return because the listen() loop will fill up the event channel with EOF
errors, and block indefinitely on a channel write (therefore never
checking if the event listener context is Done() again).

When the event listener receives io.EOF, it should return. Doing this
fixes the potential deadlock issue and allows Session.Close() to return
in such a case.

Add a regression test to verify this fix.

Fixes: #24

Signed-off-by: Nick Rosbrook <[email protected]>

v0.4.0

Toggle v0.4.0's commit message
CHANGELOG.md: bump version to v0.4.0

Signed-off-by: Nick Rosbrook <[email protected]>