The offset comes from MHD counting bytes, not from the client.

Happy hacking,

Christian

On 12/20/2011 05:47 PM, Keith Mendoza wrote:
I figured that much. A follow-up question: is the offset provided by the
client as part of multi-part or is this a libmicrohttpd thing? I just
want to know if I need throw a security warning if it does happen.

On Dec 20, 2011 6:20 AM, "Andreas Wehrmann"
<[email protected] <mailto:[email protected]>> wrote:

    On 12/19/2011 10:20 PM, Keith Mendoza wrote:

        I'm just wondering if it's possible when a client is uploading a
        file
        that the content arrives out of sequence. For example is it possible
        to get let's say a sequence of offset values: 0, 50, 10, 20, 30, 40?

        I'm under the impression that this will not happen but I just
        want to make sure.


    You don't need to worry about out-of-order data since HTTP is built
    upon TCP.

    Regards,
    Andreas

    --
    Dipl.-Ing. (FH) Andreas Wehrmann
    Software Development
    ------------------------------ ------------------------------ --
    Center Communication Systems GmbH
    A-1210 Wien, Ignaz-Köck-Straße 19
    Sitz in Wien
    FN 796 88p, Firmenbuchgericht Wien
    www.centersystems.com <http://www.centersystems.com>

    Tel.: +43 (0) 190 199 - 3616
    Mobile: +43 (0) 664 884 75916
    Fax: +43 (0) 190 199 - 2110
    E-Mail: [email protected]
    <mailto:[email protected]>



Reply via email to