https://issues.apache.org/bugzilla/show_bug.cgi?id=39243

--- Comment #40 from Ryan <[email protected]> ---
It seems curl solves this issue by sending the HTTP 1.1 header "Expect" with
value "100-continue" when you use a client certificate to perform an HTTP PUT
of a huge file.  Apparently this allows the SSL renegotiate to occur before the
large payload (body) is even transferred.  I noticed this due to my Java client
failing with the error discussed in this thread, but curl (and libcurl) had no
issues.  Unfortunately the Sun Java built-in HttpsUrlConnection implementation
doesn't support the "Expect" header.  Use the Java Apache Foundation HTTP
Client library or OpenJDK implementation instead.  Hope this helps someone who
digs up this thread.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to