libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libmicrohttpd] POST data sequence question


From: Christian Grothoff
Subject: Re: [libmicrohttpd] POST data sequence question
Date: Tue, 20 Dec 2011 20:26:35 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16

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"
<address@hidden <mailto:address@hidden>> 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: address@hidden
    <mailto:address@hidden>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]