Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 314 for Accept (6.47 sec)

  1. cni/pkg/iptables/iptables.go

    	// CLI: -A ISTIO_PRERT -p tcp -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
    	//
    	// DESC: Anything that's already in conntrack as an established connection, accept
    	iptablesBuilder.AppendRule(
    		iptableslog.UndefinedCommand, ChainInpodPrerouting, iptablesconstants.MANGLE,
    		"-p", "tcp",
    		"-m", "conntrack",
    		"--ctstate", "RELATED,ESTABLISHED",
    		"-j", "ACCEPT",
    	)
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  2. cmd/post-policy_test.go

    	// Add the bucket condition, only accept buckets equal to the one passed.
    	bucketConditionStr := fmt.Sprintf(`["eq", "$bucket", "%s"]`, bucketName)
    	// Add the key condition, only accept keys equal to the one passed.
    	keyConditionStr := fmt.Sprintf(`["eq", "$key", "%s/upload.txt"]`, objectKey)
    	// Add content length condition, only accept content sizes of a given length.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/ztunnelserver.go

    	context.AfterFunc(ctx, func() { _ = z.Close() })
    
    	for {
    		log.Debug("accepting conn")
    		conn, err := z.accept()
    		if err != nil {
    			if errors.Is(err, net.ErrClosed) {
    				log.Debug("listener closed - returning")
    				return
    			}
    
    			log.Errorf("failed to accept conn: %v", err)
    			continue
    		}
    		log.Debug("connection accepted")
    		go func() {
    			log.Debug("handling conn")
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  4. internal/grid/stream.go

    	Requests chan<- []byte
    
    	muxID uint64
    	ctx   context.Context
    }
    
    // Send a payload to the remote server.
    func (s *Stream) Send(b []byte) error {
    	if s.Requests == nil {
    		return errors.New("stream does not accept requests")
    	}
    	select {
    	case s.Requests <- b:
    		return nil
    	case <-s.ctx.Done():
    		return context.Cause(s.ctx)
    	}
    }
    
    // Results returns the results from the remote server one by one.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 28 18:05:18 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  5. src/archive/tar/writer.go

    	}
    	if _, tw.err = tw.w.Write(zeroBlock[:tw.pad]); tw.err != nil {
    		return tw.err
    	}
    	tw.pad = 0
    	return nil
    }
    
    // WriteHeader writes hdr and prepares to accept the file's contents.
    // The Header.Size determines how many bytes can be written for the next file.
    // If the current file is not fully written, then this returns an error.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  6. internal/http/transports.go

    	// 		// if a response to Ping is not received.
    	// 		trhttp2.PingTimeout = dialTimeout
    	// 		// DisableCompression, if true, prevents the Transport from
    	// 		// requesting compression with an "Accept-Encoding: gzip"
    	// 		trhttp2.DisableCompression = true
    	// 	}
    	// }
    
    	return tr
    }
    
    // NewInternodeHTTPTransport returns transport for internode MinIO connections.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  7. internal/event/targetlist.go

    		list.eventsSkipped.Add(int64(len(list.queue)))
    		return
    	default:
    		list.eventsSkipped.Add(1)
    		err := fmt.Errorf("concurrent target notifications exceeded %d, configured notification target is too slow to accept events for the incoming request rate", maxConcurrentAsyncSend)
    		for id := range targetIDset {
    			reqInfo := &logger.ReqInfo{}
    			reqInfo.AppendTags("targetID", id.String())
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  8. cmd/streaming-signature-v4.go

    //
    //	<chunk-size-as-hex> + ";chunk-signature=" + <signature-as-hex> + "\r\n" + <payload> + "\r\n"
    //
    // First, we read the chunk size but fail if it is larger
    // than 16 MiB. We must not accept arbitrary large chunks.
    // One 16 MiB is a reasonable max limit.
    //
    // Then we read the signature and payload data. We compute the SHA256 checksum
    // of the payload and verify that it matches the expected signature value.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  9. internal/config/errors.go

    		"Please check the passed value",
    		"MINIO_DOMAIN only accepts non-overlapping domain values",
    	)
    
    	ErrInvalidDomainValue = newErrFn(
    		"Invalid domain value",
    		"Please check the passed value",
    		"Domain can only accept DNS compatible values",
    	)
    
    	ErrInvalidErasureSetSize = newErrFn(
    		"Invalid erasure set size",
    		"Please check the passed value",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 18 22:25:32 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  10. internal/http/listener.go

    	handleListener := func(idx int, listener net.Listener) {
    		for {
    			conn, err := listener.Accept()
    			send(acceptResult{conn, err, idx})
    		}
    	}
    
    	// Start separate goroutine for each TCP listener to handle connection.
    	for idx, tcpListener := range listener.listeners {
    		go handleListener(idx, tcpListener)
    	}
    }
    
    // Accept - reads from httpListener.acceptCh for one of previously accepted TCP connection and returns the same.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 5.6K bytes
    - Viewed (0)
Back to top