Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QHttpMultiPart fails with specific file
QtWS25 Last Chance

QHttpMultiPart fails with specific file

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 2.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mirswith
    wrote on last edited by
    #1

    Hi. Does QHttpMultiPart in v4.8.0 have any known bugs regarding failure with certain files? I have been using this for a while and have not had any trouble uploading to my java server yet today I found a file that causes my Java server to thrown an exception "Processing of multipart/form-data request failed. Stream ended unexpectedly". To test my java server I decided to try uploading from one of my flash clients, turns out the upload for the file in question works perfectly fine there which makes me believe my server is ok and there is a problem with my Qt code, but as I mentioned this has been working great with tons of tests before hand without failure; my current test has 533 files, all of which upload fine except this one. They are all jpeg images and the one in question opens just fine. Makes me believe there is a bug surrounding file length sizes and maybe encoded data failing with specific character sequences, but I'm only guessing here.

    Thanks.

    1 Reply Last reply
    0
    • G Offline
      G Offline
      goetz
      wrote on last edited by
      #2

      I'm not aware of one. Did you try a search in the "public bugtracker":https://bugreports.qt-project.org already?

      http://www.catb.org/~esr/faqs/smart-questions.html

      1 Reply Last reply
      0
      • B Offline
        B Offline
        brickleg
        wrote on last edited by
        #3

        I ran into an issue like this recently, where there was a specific file that, having been transferred through an instance of QHttpMultiPart, would always be corrupt on the receiving end. For details and the potential fix see https://bugreports.qt-project.org/browse/QTBUG-26736

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved