restic / restic/rest-server

Please specify what max body size the server requires

Open
#378 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
1.5k
Forks
178
Avg merge
15d 9h
Merged PRs (30d)
2

Description

I have this running behind Nginx, and initially got 413 error codes because the default request body size limit is too small. Obviously this isn't rest-server's fault, but it would be helpful for the docs to mention what this limit should be; is it the largest file that could be transferred, or a particular size that clients don't go above? Setting unlimited does not seem like a sensible workaround.

https://github.com/restic/rest-server/blob/4e4e8c0f4c85a71edc4379613120cd4e1bf4006a/README.md?plain=1#L171

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at README.md around line 171 and review the REST backend request behavior relevant to upload sizes. Determine whether clients impose a maximum body size or whether the limit depends on the largest supported file, then document the recommended Nginx setting and what completion looks like in the README.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, nginx
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.