We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3210ce commit 36a627bCopy full SHA for 36a627b
1 file changed
typedb/localstack_typedb/utils/h2_proxy.py
@@ -27,7 +27,7 @@ def should_proxy_request(self, headers: Headers) -> bool:
27
28
29
class TcpForwarder:
30
- """Simple helper class for bidirectional forwarding of TPC traffic."""
+ """Simple helper class for bidirectional forwarding of TCP traffic."""
31
32
buffer_size: int = 1024
33
"""Data buffer size for receiving data from upstream socket."""
@@ -46,7 +46,7 @@ def send(self, data):
46
self._socket.sendall(data)
47
48
def close(self):
49
- LOG.debug("Closing connection to upstream HTTP2 server on port %s", self.port)
+ LOG.debug(f"Closing connection to upstream HTTP2 server on port {self.port}")
50
try:
51
self._socket.shutdown(socket.SHUT_RDWR)
52
self._socket.close()
0 commit comments