Nathan Reynolds created HTTPCLIENT-1871:
-------------------------------------------
Summary: Add Diagnostic Information to ProtocolException Message
Key: HTTPCLIENT-1871
URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1871
Project: HttpComponents HttpClient
Issue Type: Improvement
Affects Versions: 4.5.3
Reporter: Nathan Reynolds
Priority: Minor
DefaultHttpResponseParser.parseHead() can throw ProtocolException. Please add
more diagnostic information in the exception message. For example, add the
value of "i", "count" and why reject() returned true. Please add the contents
of this.lineBuf and any other information.
My program caught this exception and I am having a hard time to reproduce it.
If I had more information in the exception message, then I would be able to
have a better understanding of why the exception was thrown and how to
reproduce the issue.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]