Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 282 for conn (0.05 sec)

  1. internal/http/response-recorder.go

    	headers bytes.Buffer
    	body    bytes.Buffer
    	// Indicate if headers are written in the log
    	headersLogged bool
    }
    
    // Hijack - hijacks the underlying connection
    func (lrw *ResponseRecorder) Hijack() (net.Conn, *bufio.ReadWriter, error) {
    	hj, ok := lrw.ResponseWriter.(http.Hijacker)
    	if !ok {
    		return nil, nil, fmt.Errorf("response writer does not support hijacking. Type is %T", lrw.ResponseWriter)
    	}
    	return hj.Hijack()
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. cmd/common-main.go

    	ctxt.UserTimeout = ctx.Duration("conn-user-timeout")
    	ctxt.SendBufSize = ctx.Int("send-buf-size")
    	ctxt.RecvBufSize = ctx.Int("recv-buf-size")
    	ctxt.IdleTimeout = ctx.Duration("idle-timeout")
    	ctxt.UserTimeout = ctx.Duration("conn-user-timeout")
    
    	if conf := ctx.String("config"); len(conf) > 0 {
    		err = mergeServerCtxtFromConfigFile(conf, ctxt)
    	} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  3. tests/transaction_test.go

    		return nil
    	}); err == nil {
    		t.Errorf("should returns error when commit with closed conn, got error %v", err)
    	}
    
    	if err := DB.Session(&gorm.Session{PrepareStmt: true}).Transaction(func(tx *gorm.DB) error {
    		return nil
    	}); err == nil {
    		t.Errorf("should returns error when commit with closed conn, got error %v", err)
    	}
    }
    
    func TestTransactionWithHooks(t *testing.T) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  4. api/go1.12.txt

    pkg crypto/tls, const TLS_CHACHA20_POLY1305_SHA256 uint16
    pkg crypto/tls, const VersionTLS13 = 772
    pkg crypto/tls, const VersionTLS13 ideal-int
    pkg crypto/tls, type RecordHeaderError struct, Conn net.Conn
    pkg debug/elf, const R_RISCV_32_PCREL = 57
    pkg debug/elf, const R_RISCV_32_PCREL R_RISCV
    pkg debug/pe, const IMAGE_FILE_MACHINE_ARMNT = 452
    pkg debug/pe, const IMAGE_FILE_MACHINE_ARMNT ideal-int
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jan 02 21:21:53 UTC 2019
    - 13.5K bytes
    - Viewed (0)
  5. cmd/config-current.go

    			return err
    		}
    	case config.IdentityLDAPSubSys:
    		cfg, err := xldap.Lookup(s, globalRootCAs)
    		if err != nil {
    			return err
    		}
    		if cfg.Enabled() {
    			conn, cerr := cfg.LDAP.Connect()
    			if cerr != nil {
    				return cerr
    			}
    			conn.Close()
    		}
    	case config.IdentityTLSSubSys:
    		if _, err := xtls.Lookup(s[config.IdentityTLSSubSys][config.Default]); err != nil {
    			return err
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  6. docs/features/connections.md

     * They don't specify whether a specific proxy server should be used or how to authenticate with that proxy server.
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Feb 21 03:33:59 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  7. internal/kms/secret-key.go

    func NewBuiltin(keyID string, key []byte) (*KMS, error) {
    	if len(key) != 32 {
    		return nil, errors.New("kms: invalid key length " + strconv.Itoa(len(key)))
    	}
    	return &KMS{
    		Type:       Builtin,
    		DefaultKey: keyID,
    		conn: secretKey{
    			keyID: keyID,
    			key:   key,
    		},
    		latencyBuckets: defaultLatencyBuckets,
    		latency:        make([]atomic.Uint64, len(defaultLatencyBuckets)),
    	}, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. api/go1.17.txt

    pkg compress/lzw, type Writer struct
    pkg crypto/tls, method (*CertificateRequestInfo) Context() context.Context
    pkg crypto/tls, method (*ClientHelloInfo) Context() context.Context
    pkg crypto/tls, method (*Conn) HandshakeContext(context.Context) error
    pkg database/sql, method (*NullByte) Scan(interface{}) error
    pkg database/sql, method (*NullInt16) Scan(interface{}) error
    pkg database/sql, method (NullByte) Value() (driver.Value, error)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 18K bytes
    - Viewed (0)
  9. gorm.go

    	TranslateError bool
    	// PropagateUnscoped propagate Unscoped to every other nested statement
    	PropagateUnscoped bool
    
    	// ClauseBuilders clause builder
    	ClauseBuilders map[string]clause.ClauseBuilder
    	// ConnPool db conn pool
    	ConnPool ConnPool
    	// Dialector database dialector
    	Dialector
    	// Plugins registered plugins
    	Plugins map[string]Plugin
    
    	callbacks  *callbacks
    	cacheStore *sync.Map
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Oct 09 11:29:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. cmd/sts-handlers_test.go

    	}{
    		{
    			username: "Пользователь",
    			dn:       "uid=Пользователь,ou=people,ou=swengg,dc=min,dc=io",
    		},
    	}
    
    	conn, err := globalIAMSys.LDAPConfig.LDAP.Connect()
    	if err != nil {
    		c.Fatalf("LDAP connect failed: %v", err)
    	}
    	defer conn.Close()
    
    	for i, testCase := range cases {
    		ldapID := cr.LDAPIdentity{
    			Client:       s.TestSuiteCommon.client,
    			STSEndpoint:  s.endPoint,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
Back to top