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
Curl hangs when Header "Expect:100-continue" is set on POST > 1024 bytes #273
Comments
What version? Can you tell me how long? Are you using hystrix? |
Finchley.M9
Not using Hystrix. |
Works fine if I use httpie.org
These are the headers set by httpie
something to do with curl and reactor and/or netty? @smaldini |
I think that I found the culprit. Add the |
Just tried it again today with |
thanks for the feedback @creactiviti! |
This appears to be back for me. I think the regression is caused by 2816605. I believe it disappeared in I don't know much about spring reactive, but my naive guess from debugging is that spring-cloud-gateway is responding to curl with the I can get curl to work by disabling the Edit: @spencergibb any ideas? |
I was able to reproduce and find a workaround to the issue mentioned by @dan-nawrocki. It seems like the issue was resolved by the netty team: reactor/reactor-netty#293 but for some reason the The target as a result returns a
As a workaround I was able to prevent Spring Cloud Gateway from forwarding the
|
The NPE has been fixed in snapshots |
Hi, in 2.0.2.BUILD-SNAPSHOT problem still occurs. |
@Odyseja what version of spring boot and reactor-netty are you using? The fix is in reactor-netty 0.7.5 |
Spring boot's version is 2.0.3.RELEASE and reactor-netty's version is 0.7.8.RELEASE |
me too |
Same here with Spring boot 2.0.6.RELEASE and reactor-netty 0.7.10.RELEASE. |
I'm using Spring Cloud Gateway Finchley.M9.
I noticed that when I proxy a large
POST
the gateway times out:This does not happen with smaller body payloads:
The text was updated successfully, but these errors were encountered: