0

I'm using an application that sends SOAP requests (HTTP POST) to my application running in CloudBees PaaS (run@cloud). The SOAP sender application gets the following error from the server: Transport error: 411 Error: Length Required. This means that it should not use chunked transfer encoding, because chunked doesn't send Content-length header which the server seems to want.

Is there some reason why chunked cannot be used? I'm aware that some web servers, like Apache, might have DOS vulnerabilities related to chunked transfer encoding. Is this the reason? Or is it because run@cloud uses Nginx as a proxy?

4

2 に答える 2

1

CloudbeesNginxルーターは実際にhttp1.0を使用しているため、チャンク転送をサポートしていません。新しいバージョンのNGinxでWebSocketのサポートに取り組んでいるため、これはまもなく利用可能になる可能性があります

于 2013-02-05T15:41:58.573 に答える
1

アプリの httpVersion エンド ツー エンドを設定できるようになりました。

有効にするには: httpVersion=1.1

たとえば、これは WebSocket の仕組みです。

https://developer.cloudbees.com/bin/view/RUN/WebSockets

また、proxyBuffering=false を設定することもできます (これは新しいアプリのデフォルトです)。

于 2013-02-06T00:06:29.997 に答える