Wiring HTTP client security in Spring

Cantor, Scott cantor.2 at osu.edu
Mon Oct 24 11:42:26 EDT 2016


> On the technical aspects: Did you actually verify that they have an issue for
> this, and that it is fixed in a newer version?  For the record, was this
> org.apache.http.entity.InputStreamEntity?

It's fixed, I checked their svn. It's in the EntityBuilder code, it builds a 1 byte stream now if you initialize it with an InputStream.

I was hoping to use a pipe to connect the JSON serialization stream to the entity body input stream, but I just went ahead and buffered it with a byte array for now.

-- Scott



More information about the dev mailing list