[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-1871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16181334#comment-16181334
 ] 

Gary Gregory commented on HTTPCLIENT-1871:
------------------------------------------

[~nathanila],

Would you be able to provide a PR on GitHub or a patch?

Thank you,
Gary

> 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]

Reply via email to