Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trivrost spams log when content-length is not set. #327

Open
dragetd opened this issue Oct 28, 2021 · 0 comments
Open

trivrost spams log when content-length is not set. #327

dragetd opened this issue Oct 28, 2021 · 0 comments

Comments

@dragetd
Copy link
Member

dragetd commented Oct 28, 2021

The bug
IF the remote server does not send a content-length field, tirvrost gets very unhappy.

Lots of these:

W 13.52 Assuming remote file won't change: Could not get Content-Length header from "https://x.x.x.com/downloads/x/y/bcprov-jdk14-1.38.jar": strconv.ParseInt: parsing "": invalid syntax. [pkg/fetching/download.go:189]   

To Reproduce
Serve files from a webserver that does not set the Content-Length Header.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant