mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
c4804de6f6
commit
ca8a28d58f
@ -82,6 +82,12 @@ export class LensProxy {
|
|||||||
proxySocket.write("\r\n")
|
proxySocket.write("\r\n")
|
||||||
proxySocket.write(head)
|
proxySocket.write(head)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
proxySocket.setKeepAlive(true)
|
||||||
|
socket.setKeepAlive(true)
|
||||||
|
proxySocket.setTimeout(0)
|
||||||
|
socket.setTimeout(0)
|
||||||
|
|
||||||
proxySocket.on('data', function (chunk) {
|
proxySocket.on('data', function (chunk) {
|
||||||
socket.write(chunk)
|
socket.write(chunk)
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user