Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit 30007a0

Browse files
committed
Further test coverage issues.
1 parent 93d7321 commit 30007a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hyper/http20/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def close(self, error_code=None):
276276

277277
# Send GoAway frame to the server
278278
try:
279-
self._conn.close_connection(error_code)
279+
self._conn.close_connection(error_code or 0)
280280
self._send_cb(self._conn.data_to_send(), True)
281281
except Exception as e: # pragma: no cover
282282
log.warn("GoAway frame could not be sent: %s" % e)

0 commit comments

Comments
 (0)