Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

Connection problems and possible fix #796

Closed
@juanjux

Description

@juanjux

From slack by @ajnavarro:

  • Adding keepalive at the TCP level.
  • Use NewListenerWithConfig and add a cfg.Listener that generates a Conn object we can handle.

net.Conn has two methods: https://golang.org/pkg/net/#TCPConn.SetKeepAlive and https://golang.org/pkg/net/#TCPConn.SetKeepAlivePeriod

Related: src-d/gitbase-spark-connector-enterprise#81

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions