Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-20367

Android: TiHTTPClient leaking files when response > 512K

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 7.3.0
    • Component/s: Android
    • Labels:
    • Environment:

      Android all versions

    • Story Points:
      3
    • Sprint:
      2018 Sprint 10 SDK

      Description

      The problem begins in TiHTTPClient.java, handleEntityData().

      If the response size > 512K (totalSize > maxBufferSize) it calls createFileResponseData(true) and a temporary data file is created (outFile = TiFileFactory.createDataFile("tihttp", "tmp")).

      This file is never deleted and remains in the appdata directory.

        Attachments

          Activity

            People

            • Assignee:
              gmathews Gary Mathews
              Reporter:
              buddyguards grebulon
              Reviewer:
              Lokesh Choudhary
              Tester:
              Samir Mohammed
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-20928
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code