forked from TrueCloudLab/frostfs-s3-gw
commit
0814bf3d01
3 changed files with 2 additions and 4 deletions
|
@ -44,6 +44,7 @@ type (
|
|||
prs int
|
||||
)
|
||||
|
||||
// ErrNoAuthorizationHeader is returned for unauthenticated requests.
|
||||
var ErrNoAuthorizationHeader = errors.New("no authorization header")
|
||||
|
||||
func (p prs) Read(_ []byte) (n int, err error) {
|
||||
|
|
|
@ -28,9 +28,6 @@ const (
|
|||
defaultConnectTimeout = 30 * time.Second
|
||||
defaultShutdownTimeout = 15 * time.Second
|
||||
|
||||
defaultKeepaliveTime = 10 * time.Second
|
||||
defaultKeepaliveTimeout = 10 * time.Second
|
||||
|
||||
defaultMaxClientsCount = 100
|
||||
defaultMaxClientsDeadline = time.Second * 30
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue