We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e85acc commit 909a818Copy full SHA for 909a818
pkg/tcpproxy/tcp.go
@@ -59,11 +59,12 @@ func (p *TCPProxy) Get(host string) *TCPServer {
59
// and open a connection to the passthrough server.
60
func (p *TCPProxy) Handle(conn net.Conn) {
61
defer conn.Close()
62
- data := make([]byte, 4096)
+ // See: https://www.ibm.com/docs/en/ztpf/1.1.0.15?topic=sessions-ssl-record-format
63
+ data := make([]byte, 16384)
64
65
length, err := conn.Read(data)
66
if err != nil {
- klog.V(4).ErrorS(err, "Error reading the first 4k of the connection")
67
+ klog.V(4).ErrorS(err, "Error reading data from the connection")
68
return
69
}
70
0 commit comments