GitHub user filippovmn opened a pull request:

    https://github.com/apache/flume/pull/139

    HttpSink. Fix bad response handling. 

    After a bad response, connection.getInputStream () returns null. I'm adding 
a check for this. If the answer is bad - try to close ErrorStream.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/filippovmn/flume trunk

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flume/pull/139.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #139
    
----
commit ba8514e37ad1f11462585f35d9fb82719c20f272
Author: filippovmn <[email protected]>
Date:   2017-06-20T12:41:52Z

    HttpSink. Fix bad response handling.  
    
    After a bad response, connection.getInputStream () returns null. I'm adding 
a check for this. If the answer is bad - try to close ErrorStream.

commit b8bcd0c326a39830d3f5e90c5491384436909cfb
Author: filippovmn <[email protected]>
Date:   2017-06-20T12:55:31Z

    Merge pull request #1 from filippovmn/filippovmn-patch-1
    
    HttpSink. Fix bad response handling.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to