contrib/persistent-https/client.go

Summary

Maintainability
A
40 mins
Test Coverage

Method Client.connect has 6 return statements (exceeds 4 allowed).
Open

func (c *Client) connect() (uconn net.Conn, hconn net.Conn, addr string, err error) {
    uconn, err = DefaultSocket.Dial()
    if err != nil {
        if e, ok := err.(*net.OpError); ok && (os.IsNotExist(e.Err) || e.Err == syscall.ECONNREFUSED) {
            if err = c.startProxy(); err == nil {
Severity: Major
Found in contrib/persistent-https/client.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status