FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

UnixSocketConnection handle remote close · Issue #11 · greenbone/python-gvm · GitHub

UnixSocketConnection handle remote close #11

Description

When trying to send a command to a UnixSocketConnection closed e.g. by gvmd after an error response a IOError is returned. In this case the socket must be re-opened. Maybe it would also be possible to check if the connection is closed.

Example code for catching such an exception

except IOError as e:
    if e.errno == errno.EPIPE:

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


Back | FazBrowse Home | New Git URL