Clone
Tadayoshi Sato <sato.tadayoshi@gmail.com>
committed
on 12 Sep
CAMEL-13886: camel-servlet + camel-http4 with null body causes "Stream closed" IOException
Normally servlet request can be read only once, b… Show more
CAMEL-13886: camel-servlet + camel-http4 with null body causes "Stream closed" IOException

Normally servlet request can be read only once, but when

Exchange#getOut() is invoked HttpMessage may be copied for the out

message with the original request that has been already read.

This fix protects it from being read again.

Show less