xiazcy commented on code in PR #3519:
URL: https://github.com/apache/tinkerpop/pull/3519#discussion_r3604993232


##########
gremlin-python/src/main/python/gremlin_python/driver/aiohttp/transport.py:
##########
@@ -325,6 +325,12 @@ def read_body(self):
         """Read the entire HTTP response body as bytes."""
         return _run_read(self._loop, self._read_timeout, 
self._http_req_resp.read())
 
+    def release_response(self):
+        """Release the current HTTP response, returning its connection to 
aiohttp's pool."""
+        if self._http_req_resp is not None:
+            self._http_req_resp.close()

Review Comment:
   I believe this closes the connection instead of returning it to the pool as 
the doc string claims. Please double check. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to