Please sign in to comment.
Report connection as closed if internal flag is set or libpq knows th…
…at connection is closed. This fixes problem when connection is closed on backend side and conn.closed() still reports False, while conn.fileno() would return -1, indicating that connection is broken.
- Loading branch information...