You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Nathan Reynolds (JIRA)" <ji...@apache.org> on 2017/09/26 18:58:00 UTC
[jira] [Created] (HTTPCLIENT-1871) Add Diagnostic Information to
ProtocolException Message
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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org