-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
request body size #914
Comments
Hi @RedzRedz We are fixing 404 to 413 which is correct error for large payload. |
@ks1990cn How are you fixing it? What's PR number? |
I raised that PR but @ggnaegi have right way to do so he discussed that he will be working on it. So i deleted my PR. |
@ggnaegi Tanmay said that you're working on this. Which PR? |
@raman-m Yes, I'm finishing it and I will push it. Maybe we should add some documentation here, as @ks1990cn pointed out, it's a server related issue: |
@ggnaegi we have to add docs to explain developer how to config and how to use Ocelot pipeline to avoid such ugly bugs in future. |
@raman-m we should think about a custom Exception class and only one middleware handling the exceptions and returning a response in rfc 7807 format. |
A long discussion! And there is no PR... What are we discussing here? |
But file downloading & uploading is fixed by #1724 and #1824 in Ocelot |
I've tried to find any information "how" is that fixed? Where should I read, what should I change in the configuration? :) Please clarify. Because I have not found other way to fix that, but adding |
@alexandis Well, you are using IIS. #1724 and #1824 will be integrated in the next Release, probably during the next few weeks. If you want to try on your own, you could compile the sources from the develop branch. Still, there are some limits that are given by the server implementation you are using: https://learn.microsoft.com/en-us/iis/configuration/system.webserver/security/requestfiltering/requestlimits/ |
@ggnaegi |
Is the ocelet has the limitation of request body size?
I have api to upload file, the file size less than 20MB, the ocelet is ok.when the file size bigger, the ocelet will reponse 404.
The text was updated successfully, but these errors were encountered: