Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-9580

Potentially unclosed ByteBufInputStream in RestClient#readRawResponse

    XMLWordPrintableJSON

Details

    Description

      Here is related code:

                ByteBufInputStream in = new ByteBufInputStream(content);
                byte[] data = new byte[in.available()];
                in.readFully(data);
      

      In the catch block, ByteBufInputStream is not closed.

      Attachments

        Issue Links

          Activity

            People

              yanghua vinoyang
              yuzhihong@gmail.com Ted Yu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: