-
-
Notifications
You must be signed in to change notification settings - Fork 213
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
There is no option to increase body size while proxying #455
Comments
On which framework do you run? |
Sorry, it's Net Core 2.1 |
For proxying, a normal HttpClient is used. And the response from this call is forwarded to wiremock server. Can you provide the full stacktrace error? Or better, create a working example? |
I can provide the full stack trace right now:
|
@LevYas I've updated the code and a new preview MyGet package can be tested : |
Yes, it is. And you pointed to a very simple solution, which can be applied in the source code. I tried to increase the limit after the Kestrel initialization using |
See this PR: |
@LevYas did you already have time to verify this one and the handlebars.net.helpers PR? |
@LevYas did you already have time to verify this one and the handlebars.net.helpers PR's? |
Oh, sorry, it was a hard time for me. I'll try to check it in a few days, it will not be so easy, because I don't have access to code that used this functionality anymore. |
No problem, I was just curious if these two fixes are now working as expected. If you can test it, that would be great. Else within some time, I'll just merge to master and release a new version. |
I checked it, yeah, there is progress - I receive 400 from my API instead of 500 from WireMock 😁 |
OK. Thank. |
I had a task to proxy API which, as part of a pipeline, receives big (60MB) zip-file. The WireMock's kestrel said that the entity is too big. I looked for options to increase it, and only found an option to set action
PreWireMockMiddlewareInit
to this:But it has no effect at all.
Can I do something to remove size limit?
P.S. I remember about your request, I'm testing it right now :)
The text was updated successfully, but these errors were encountered: