michael-o commented on pull request #207:
URL:
https://github.com/apache/httpcomponents-core/pull/207#issuecomment-669142919
The test setup is basically a loop which uploads a ZIP file (around 7 MB) to
a Tomcat instance. The target URL is auth protected and Tomcat detects that
really quick, therefore closes the connection. In an optional case, only few
hundred kilobytes are transfered before HttpClient detects the premature end of
transfer.
Tomcat in return responds with 401, `WWW-Authenticate: Negotiate` and the
usual HTML error page:
```
<!doctype html><html lang="en"><head><title>HTTP Status 401 –
Unauthorized</title><style type="text/css">body
{font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b
{color:white;background-color:#525D76;} h1 {font-size:22px;} h2
{font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;}
.line
{height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP
Status 401 – Unauthorized</h1></body></html>
```
I am using two connectors, one for plain, one for TLS. Both use APR via
libtcnative. TLS uses OpenSSL via libtcntative too. I can provide logfiles if
you like.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]