Эх сурвалжийг харах

[hbase] Do not close transport when flushing as it resets the headers

Romain Rigaux 10 жил өмнө
parent
commit
5aa9718

+ 0 - 4
desktop/core/src/desktop/lib/thrift_/http_client.py

@@ -76,10 +76,6 @@ class THttpClient(TTransportBase):
     self._wbuf.write(buf)
 
   def flush(self):
-    if self.isOpen():
-      self.close()
-    self.open()
-
     data = self._wbuf.getvalue()
     self._wbuf = StringIO()