Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 159 for Ticket (0.24 sec)

  1. src/crypto/tls/common.go

    const (
    	// ticketKeyLifetime is how long a ticket key remains valid and can be used to
    	// resume a client connection.
    	ticketKeyLifetime = 7 * 24 * time.Hour // 7 days
    
    	// ticketKeyRotation is how often the server should rotate the session ticket key
    	// that is used for new tickets.
    	ticketKeyRotation = 24 * time.Hour
    )
    
    // ticketKey is the internal representation of a session ticket key.
    type ticketKey struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  2. src/crypto/tls/handshake_client_test.go

    		}
    		return k
    	}
    
    	testResumeState("Handshake", false)
    	ticket := getTicket()
    	testResumeState("Resume", true)
    	if bytes.Equal(ticket, getTicket()) {
    		t.Fatal("ticket didn't change after resumption")
    	}
    
    	// An old session ticket is replaced with a ticket encrypted with a fresh key.
    	ticket = getTicket()
    	serverConfig.Time = func() time.Time { return time.Now().Add(24*time.Hour + time.Minute) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  3. src/crypto/tls/handshake_messages.go

    			return false
    		}
    	}
    	return readUint16LengthPrefixed(&s, &m.signature) && s.Empty()
    }
    
    type newSessionTicketMsg struct {
    	ticket []byte
    }
    
    func (m *newSessionTicketMsg) marshal() ([]byte, error) {
    	// See RFC 5077, Section 3.3.
    	ticketLen := len(m.ticket)
    	length := 2 + 4 + ticketLen
    	x := make([]byte, 4+length)
    	x[0] = typeNewSessionTicket
    	x[1] = uint8(length >> 16)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  4. src/crypto/tls/conn.go

    	// or sending NewSessionTicket messages.
    	resumptionSecret []byte
    	echAccepted      bool
    
    	// ticketKeys is the set of active session ticket keys for this
    	// connection. The first one is used to encrypt new tickets and
    	// all are tried to decrypt tickets.
    	ticketKeys []ticketKey
    
    	// clientFinishedIsFirst is true if the client sent the first Finished
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  5. src/crypto/tls/tls_test.go

    			continue // these are unexported fields that are handled separately
    		default:
    			t.Errorf("all fields must be accounted for, but saw unknown field %q", fn)
    		}
    	}
    	// Set the unexported fields related to session ticket keys, which are copied with Clone().
    	c1.autoSessionTicketKeys = []ticketKey{c1.ticketKeyFromBytes(c1.SessionTicketKey)}
    	c1.sessionTicketKeys = []ticketKey{c1.ticketKeyFromBytes(c1.SessionTicketKey)}
    
    	c2 := c1.Clone()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  6. cmd/bucket-handlers.go

    			return
    		}
    	}
    
    	for _, bucket := range bucketsInConflict.ToSlice() {
    		dnsLogIf(ctx, fmt.Errorf("Unable to add bucket DNS entry for bucket %s, an entry exists for the same bucket by a different tenant. This local bucket will be ignored. Bucket names are globally unique in federated deployments. Use path style requests on following addresses '%v' to access this bucket", bucket, globalDomainIPs.ToSlice()))
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  7. cmd/bucket-replication-utils_gen.go

    			z.ReplicatedCount, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "ReplicatedCount")
    				return
    			}
    		case "Bucket":
    			z.Bucket, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Bucket")
    				return
    			}
    		case "Object":
    			z.Object, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Object")
    				return
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 61.1K bytes
    - Viewed (0)
  8. src/net/http/transport.go

    		// not as universally supported anyway.
    		// See: https://zlib.net/zlib_faq.html#faq39
    		//
    		// Note that we don't request this for HEAD requests,
    		// due to a bug in nginx:
    		//   https://trac.nginx.org/nginx/ticket/358
    		//   https://golang.org/issue/5522
    		//
    		// We don't request gzip if the request is for a range, since
    		// auto-decoding a portion of a gzipped document will just fail
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  9. cmd/bucket-stats_gen.go

    Poorna <******@****.***> 1707199245 -0800
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  10. cmd/object-api-multipart_test.go

    		// Valid bucket names, but they do not exist (Test number 5-7).
    		{"volatile-bucket-1", "", "", "", "", 0, ListMultipartsInfo{}, BucketNotFound{Bucket: "volatile-bucket-1"}, false},
    		{"volatile-bucket-2", "", "", "", "", 0, ListMultipartsInfo{}, BucketNotFound{Bucket: "volatile-bucket-2"}, false},
    		{"volatile-bucket-3", "", "", "", "", 0, ListMultipartsInfo{}, BucketNotFound{Bucket: "volatile-bucket-3"}, false},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 77.1K bytes
    - Viewed (0)
Back to top