iris
iris copied to clipboard
[BUG] DisableBodyConsumptionOnUnmarshal not effective
Describe the bug DisableBodyConsumptionOnUnmarshal not effective
To Reproduce _ = irisApp.Run(iris.Addr("0.0.0.0:8080"), iris.WithPathEscape, iris.WithOptimizations, iris.WithoutInterruptHandler, iris.WithoutBodyConsumptionOnUnmarshal)
Expected behavior fix it
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: MacOS
iris.Version
- v12.2.0-beta4
@kataras yes, get a error with 'EOF' content when second unmarshal
@CyJaySong I don't see the error. The example is working. Could you please post a code snippet which reproduces the issue, based on the feature?
![image](https://user-images.githubusercontent.com/22900943/181376280-b1eb58f2-7f97-4f49-9894-d6351eb13ad9.png)
@kataras
@kataras No exceptions when i use v12.2.0-beta3
@CyJaySong I don't see the error. The example is working. Could you please post a code snippet which reproduces the issue, based on the feature?
![]()
@kataras readjson same problem
Please refer to the solution of #1949