Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Accepted (0.24 sec)

  1. internal/http/listener.go

    type httpListener struct {
    	opts        TCPOptions
    	listeners   []net.Listener    // underlying TCP listeners.
    	acceptCh    chan acceptResult // channel where all TCP listeners write accepted connection.
    	ctx         context.Context
    	ctxCanceler context.CancelFunc
    }
    
    // start - starts separate goroutine for each TCP listener.  A valid new connection is passed to httpListener.acceptCh.
    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)
  2. docs/debugging/xl-meta/main.go

      {{.Name}} - {{.Usage}}
    
    USAGE:
      {{.Name}} {{if .VisibleFlags}}[FLAGS]{{end}} METAFILES...
    
    Multiple files can be added. Files ending in '.zip' will be searched
    for 'xl.meta' files. Wildcards are accepted: 'testdir/*.txt' will compress
    all files in testdir ending with '.txt', directories can be wildcards
    as well. 'testdir/*/*.txt' will match 'testdir/subdir/b.txt', double stars
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  3. internal/logger/logrotate.go

    // Write is non-blocking, if the writer's queue is not full.
    // Write is blocking otherwise.
    func (w *Writer) Write(p []byte) (n int, err error) {
    	return w.pw.Write(p)
    }
    
    // Close closes the writer.
    // Any accepted writes will be flushed. Any new writes will be rejected.
    // Once Close() exits, files are synchronized to disk.
    func (w *Writer) Close() error {
    	w.pw.CloseWithError(nil)
    
    	if w.f != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 11:38:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  4. internal/grid/manager.go

    		writeErr := func(err error) {
    			if err == nil {
    				return
    			}
    			gridLogOnceIf(ctx, err, err.Error())
    			resp := connectResp{
    				ID:             m.ID,
    				Accepted:       false,
    				RejectedReason: err.Error(),
    			}
    			if b, err := resp.MarshalMsg(nil); err == nil {
    				msg := message{
    					Op:      OpConnectResponse,
    					Payload: b,
    				}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  5. internal/grid/connection.go

    			if debugPrint {
    				fmt.Println(c.Local, "receive err:", err, "side:", c.side)
    			}
    			retry(err)
    			continue
    		}
    		if debugPrint {
    			fmt.Println(c.Local, "Got connectResp:", r)
    		}
    		if !r.Accepted {
    			retry(fmt.Errorf("connection rejected: %s", r.RejectedReason))
    			continue
    		}
    		c.reconnectMu.Lock()
    		remoteUUID := uuid.UUID(r.ID)
    		if c.remoteID != nil {
    			c.reconnected()
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  6. internal/logger/target/http/http.go

    	}
    
    	// Drain any response.
    	xhttp.DrainBody(resp.Body)
    
    	switch resp.StatusCode {
    	case http.StatusOK, http.StatusCreated, http.StatusAccepted, http.StatusNoContent:
    		// accepted HTTP status codes.
    		return nil
    	case http.StatusForbidden:
    		return fmt.Errorf("%s returned '%s', please check if your auth token is correctly set", h.Endpoint(), resp.Status)
    	default:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  7. cmd/object-handlers_test.go

    	// Its necessary to set the "X-Amz-Copy-Source" header for the request to be accepted by the handler.
    	nilReq.Header.Set("X-Amz-Copy-Source", url.QueryEscape(SlashSeparator+nilBucket+SlashSeparator+nilObject))
    
    	// execute the object layer set to `nil` test.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
Back to top