Skip to content

enhancement: Config validation allows MaxOutputBytes=0 and MaxDownloadBytes=0 #69

@jonchun

Description

@jonchun

Summary

Config validation checks < 0 for MaxOutputBytes and MaxDownloadBytes, which allows 0. A value of 0 effectively disables all output and downloads — almost certainly a misconfiguration.

Location

config/config.go:186-193

Suggested Fix

Either change the check to <= 0 or add a warning when zero values are configured.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpriority: lowNice to fix - minor improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions