Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 14 of 14 for RemoteErr (0.04 seconds)

  1. internal/grid/connection.go

    		}
    		PutByteBuffer(m.Payload)
    		return
    	}
    	if m.Flags&FlagPayloadIsErr != 0 {
    		v.response(m.Seq, Response{
    			Msg: nil,
    			Err: RemoteErr(m.Payload),
    		})
    		if v.cancelFn != nil {
    			v.cancelFn(RemoteErr(m.Payload))
    		}
    		PutByteBuffer(m.Payload)
    		v.close()
    		c.outgoing.Delete(m.MuxID)
    		return
    	}
    	// Return payload.
    	if m.Payload != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 46.9K bytes
    - Click Count (0)
  2. internal/grid/grid.go

    	"github.com/gobwas/ws"
    	"github.com/gobwas/ws/wsutil"
    	"github.com/minio/minio/internal/bpool"
    )
    
    // ErrDisconnected is returned when the connection to the remote has been lost during the call.
    var ErrDisconnected = RemoteErr("remote disconnected")
    
    const (
    	// minBufferSize is the minimum buffer size.
    	// Buffers below this is not reused.
    	minBufferSize = 1 << 10
    
    	// defaultBufferSize is the default buffer allocation size.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 7K bytes
    - Click Count (0)
  3. cmd/metacache-walk.go

    }
    
    // WalkDirHandler - remote caller to list files and folders in a requested directory path.
    func (s *storageRESTServer) WalkDirHandler(ctx context.Context, payload []byte, _ <-chan []byte, out chan<- []byte) (gerr *grid.RemoteErr) {
    	var opts WalkDirOptions
    	_, err := opts.UnmarshalMsg(payload)
    	if err != nil {
    		return grid.NewRemoteErr(err)
    	}
    
    	if !s.checkID(opts.DiskID) {
    		return grid.NewRemoteErr(errDiskNotFound)
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon May 26 07:06:43 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  4. internal/grid/muxclient.go

    	ok := m.addResponse(r)
    	if !ok {
    		PutByteBuffer(r.Msg)
    	}
    }
    
    var errStreamEOF = errors.New("stream EOF")
    
    // error is a message from the server to disconnect.
    func (m *muxClient) error(err RemoteErr) {
    	if debugPrint {
    		fmt.Printf("mux %d: got remote err:%v\n", m.MuxID, string(err))
    	}
    	m.addResponse(Response{Err: &err})
    }
    
    func (m *muxClient) ack(seq uint32) {
    	if !m.checkSeq(seq) {
    		return
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 15.9K bytes
    - Click Count (0)
Back to Top