[ 
https://issues.apache.org/jira/browse/HTTPCORE-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Berlin updated HTTPCORE-154:
--------------------------------

    Attachment: changes.txt

Attached patch adds a test and changes DefaultNHttpClientConnection to only 
prepare for a request entity if it is non-null.  The AsyncNHttpClientHandler is 
changed also to first set the proper producing entity in the connState, then 
submit the request.

> AsyncNHttpClientHandler w/ null request entity => NPE
> -----------------------------------------------------
>
>                 Key: HTTPCORE-154
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-154
>             Project: HttpComponents HttpCore
>          Issue Type: Bug
>          Components: HttpCore NIO
>            Reporter: Sam Berlin
>         Attachments: changes.txt
>
>
> See: http://marc.info/?l=httpclient-commons-dev&m=120484419511590&w=2 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to