GO-2024-3136: Dragonfly2 has hard coded cyptographic key in d7y.io/dragonfly
package
Version:
v2.0.5-alpha.1
Opens a new window with list of versions in this module.
Published: Jul 7, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
HeaderToMap coverts request headers to map[string]string.
MapToHeader coverts map[string]string to request headers.
PickHeader pick header with key.
type Range struct {
StartIndex uint64 `json:"start_index"`
EndIndex uint64 `json:"end_index"`
}
GetRange parses Range according to range string.
rangeStr: "start-end"
ParseRange parses the start and the end from rangeStr and returns them.
length is file total length
Source Files
¶
Click to show internal directories.
Click to hide internal directories.