Uploaded image for project: 'mUzima'
  1. mUzima
  2. MUZIMA-77

Huge payload will potentially crash the apps

    XMLWordPrintable

    Details

      Description

      When submitting image data, the submission process might crash the apps because image data will be loaded as json object. A better approach for this would be to stream the object instead of loading it. Use JsonWriter which will wrap the OutputStream of the HttpConnection.

      Relevant code to look into:

          FormDataDaoImpl#syncFormData(final FormData formData)
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              vpandey Vikas Pandey
              Reporter:
              nribeka Nyoman Ribeka
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: