lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [task #14395] recv of short buffer should eventually time o


From: Simon Goldschmidt
Subject: [lwip-devel] [task #14395] recv of short buffer should eventually time out
Date: Thu, 2 Mar 2017 07:55:11 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36

URL:
  <http://savannah.nongnu.org/task/?14395>

                 Summary: recv of short buffer should eventually time out
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: goldsimon
            Submitted on: Thu 02 Mar 2017 12:55:10 PM UTC
                Category: socket/netconn
         Should Start On: Thu 02 Mar 2017 12:00:00 AM UTC
   Should be Finished on: Thu 02 Mar 2017 12:00:00 AM UTC
                Priority: 3 - Low
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
                  Effort: 0.00

    _______________________________________________________

Details:

When recv(1024) is called but we only have 1022 bytes, we currently wait
forever (unless the PSH bit is set or the netconn is nonblocking/has a timeout
set).

It seems like other platforms time out in this case and return 1022.

--> check how linux/windows/xBSD behave?




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?14395>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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