[Top][All Lists]

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

[lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, up

From: Joel Cunningham
Subject: [lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. master_at_STABLE-2_0_0-354-g36b9a45
Date: Fri, 24 Feb 2017 16:51:39 -0500 (EST)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "lwIP - A Lightweight TCPIP stack".

The branch, master has been updated
       via  36b9a45c3bf5e06563315dd5d55e091d120fc07b (commit)
       via  36fa1a97d415410c9d8f1ed350702775829d370b (commit)
      from  0da9cf70eaff120882e7afc6a47c5d2e913fb8f6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 36b9a45c3bf5e06563315dd5d55e091d120fc07b
Author: Joel Cunningham <address@hidden>
Date:   Fri Feb 24 15:32:48 2017 -0600

    netconn_write_partly cleanups
    This commit changes netconn_write_partly to use msg.w.offset to set
    bytes_written for both blocking and non-blocking connections
    This is correct because msg.w.offset is the canonical output from
    the do_write call and in the case that not all bytes were written,
    (a bug?) returning the full size to the caller is dangerous
    Lastly, this commit adds an assert for the blocking case to sanity
    check that all the bytes we requested were written.  This will help
    catch bugs in do_write

commit 36fa1a97d415410c9d8f1ed350702775829d370b
Author: Joel Cunningham <address@hidden>
Date:   Fri Feb 24 15:24:22 2017 -0600

    lwip_netconn_do_writemore() cleanups
    This commit makes a couple of cleanups discussed in patch #8882:
      1) msg.w.offset should not be set to 0 in the error case.  It is
         only valid when err == ERR_OK
      2) Remove out-of-date comment which indicated the entire write had
         completed (not true for non-blocking write)
    This also updates the documentation on offset to include that offset
    is only valid when err == ERR_OK


Summary of changes:
 src/api/api_lib.c               | 13 +++++++------
 src/api/api_msg.c               |  5 -----
 src/include/lwip/priv/api_msg.h |  2 +-
 3 files changed, 8 insertions(+), 12 deletions(-)

lwIP - A Lightweight TCPIP stack

reply via email to

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