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

max size of a paste #11

Open
hasufell opened this issue Sep 15, 2020 · 3 comments
Open

max size of a paste #11

hasufell opened this issue Sep 15, 2020 · 3 comments

Comments

@hasufell
Copy link
Contributor

What is the maximum entity size of the nginx front proxy? Can/should this be written down somewhere as to know where to split large files?

@tomsmeding
Copy link
Owner

The nginx max body size is larger than the current maximum paste size as enforced by the pastebin service itself.

Also, if you're sending large files, perhaps a pastebin service is not the place to put them. What use-case doe you have in mind?

@hasufell
Copy link
Contributor Author

No use case. I was thinking to show the maximum paste size in the footer or somewhere else.

@tomsmeding
Copy link
Owner

By the way, thanks for the suggestion. :)

I could show the maximum size, but I think I'll leave it out for now.

Reasoning: the current limit is fairly high, I think, so in normal usage you're unlikely to hit it. (Though of course if that assumption is wrong, the limit should be revised.) I'm not sure I want to support whatever counts as "abnormal usage". On the flip side, mentioning a number invites people to explore that number, so putting it on the front page may entice people to try and figure out e.g. whether it's a ≤ or < limit, or something, and thus fall into the abnormal usage that I'm trying to avoid.

Or perhaps I'm just being stubborn. :) Let's say if someone else comes along and requests the information, it's apparently useful to people and I'll put it on.

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

2 participants