You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using thriftpy2 to connect to a hbase thrift server, which has enabled http mode.
We need long-lived connections to our http server in order to save time.
I saw a couple of lines in http.py which prevents to do this:
if self.isOpen():
self.close()
self.open()
Basically these lines prevent to use headers such as Connection: keep-alive or use low-level socket keep-alive, because they close the underlining socket before a request.
Can I submit a PR to opt-out for those lines?
Thank you.
The text was updated successfully, but these errors were encountered:
Hi!
I'm using thriftpy2 to connect to a hbase thrift server, which has enabled http mode.
We need long-lived connections to our http server in order to save time.
I saw a couple of lines in http.py which prevents to do this:
Basically these lines prevent to use headers such as
Connection: keep-alive
or use low-level socket keep-alive, because they close the underlining socket before a request.Can I submit a PR to opt-out for those lines?
Thank you.
The text was updated successfully, but these errors were encountered: