Simon Goldschmidt
|
b1980b36b8
|
fixed bug #31084 (socket API returns always EMSGSIZE on non-blocking sockets if data size > send buffers) -> now lwip_send() sends as much as possible for non-blocking sockets and only returns EWOULDBLOCK if the buffers are full
|
2011-12-06 21:44:53 +01:00 |
|
goldsimon
|
80b344e9fc
|
Fixed printf-format error (bug #33079)
|
2011-04-21 05:15:45 +00:00 |
|
goldsimon
|
b54c7bedfd
|
Fixed bug #32906: lwip_connect+lwip_send did not work for udp and raw pcbs with LWIP_TCPIP_CORE_LOCKING==1.
|
2011-03-27 13:36:32 +00:00 |
|
goldsimon
|
7203680146
|
fixed bug #31748 (Calling non-blocking connect more than once can render a socket useless) since it mainly involves changing "FATAL" classification of error codes: ERR_USE and ERR_ISCONN just aren't fatal.
|
2011-03-14 21:21:26 +00:00 |
|
goldsimon
|
d793ed3b9b
|
fixed bug #32769 (ESHUTDOWN is linux-specific) by fixing err_to_errno_table (ERR_CLSD: ENOTCONN instead of ESHUTDOWN), ERR_ISCONN: use EALRADY instead of -1
|
2011-03-13 11:21:06 +00:00 |
|
goldsimon
|
03be8f88fe
|
Fixed bug #31741: lwip_select seems to have threading problems
|
2011-01-24 19:28:28 +00:00 |
|
goldsimon
|
effcb90fdf
|
Mreged back changes that were lost during the savannah hack 3 weeks ago (using the sources from http://git.infradead.org/users/dwmw2/lwip.git)
|
2010-12-20 18:03:51 +00:00 |
|
goldsimon
|
377628216e
|
Fixed bug #31590: getsockopt(... SO_ERROR ...) gives EINPROGRESS after a successful nonblocking connection.
|
2010-11-22 20:55:57 +00:00 |
|
goldsimon
|
e52730d1fb
|
Fixed bug #31170: lwip_setsockopt() does not set socket number
|
2010-11-20 18:01:01 +00:00 |
|
goldsimon
|
d73262a0e5
|
Fixed compilation with TCP or UDP disabled.
|
2010-07-29 19:25:50 +00:00 |
|
goldsimon
|
691410ba18
|
task #10495: Added support for IP_MULTICAST_LOOP at socket- and raw-API level.
|
2010-07-12 09:34:11 +00:00 |
|
goldsimon
|
6929a786aa
|
Fixed bug #10088: Correctly implemented shutdown at socket level.
|
2010-06-24 19:33:14 +00:00 |
|
goldsimon
|
2c60a48d02
|
ip_addr_set_any does not work on pointers...
|
2010-06-14 19:52:17 +00:00 |
|
goldsimon
|
505dd10d3c
|
Fixed bug #29979 (lwip_sendto did not check parameter "to" != NULL)
|
2010-06-12 18:46:19 +00:00 |
|
goldsimon
|
f7479781c1
|
bug #27352: removed packing from ip_addr_t, the packed version is now only used in protocol headers. Added global storage for current src/dest IP address while in input functions.
|
2010-05-22 21:11:02 +00:00 |
|
goldsimon
|
4b7288e8f4
|
use checksum-on-copy for sending UDP data for LWIP_NETIF_TX_SINGLE_PBUF==1
|
2010-05-02 17:25:33 +00:00 |
|
goldsimon
|
46b7bd6ec3
|
Make functions static where applicable, add default cases to switches where applicable, prevent old-style function prototypes (without arguments)
|
2010-03-26 14:07:05 +00:00 |
|
goldsimon
|
5ef976aed5
|
Fixed bug #29332: lwip_select() processes readset incorrectly
|
2010-03-25 12:19:39 +00:00 |
|
goldsimon
|
0a49f2e068
|
Corrected spelling of ERR_WOULDBLOCK (D was missing)
|
2010-03-20 12:56:47 +00:00 |
|
goldsimon
|
67f5e17588
|
Bug #29210: check alignment of struct sockaddr vs. struct sockaddr_in
|
2010-03-14 09:54:47 +00:00 |
|
goldsimon
|
d47a04456b
|
bug #29105: Review printf formatters
|
2010-03-08 17:07:35 +00:00 |
|
goldsimon
|
5d20e690fd
|
Added/corrected casts
|
2010-03-08 12:17:29 +00:00 |
|
goldsimon
|
d5531a239b
|
bug #28775 (select/event_callback: only check select_cb_list on change) plus use SYS_LIGHTWEIGHT_PROT to protect the select code. This should speed up receiving data on sockets as the select code in event_callback is only executed when select is waiting.
|
2010-03-07 18:40:54 +00:00 |
|
goldsimon
|
99ff7efe80
|
Use braces for if-blocks
|
2010-03-06 12:26:20 +00:00 |
|
goldsimon
|
f5b783d107
|
Fixed LWIP_NETIF_TX_SINGLE_PBUF for LWIP_TCPIP_CORE_LOCKING
|
2010-03-06 11:52:55 +00:00 |
|
goldsimon
|
38fcfcdfac
|
task #10167 (sockets: speed up TCP recv by not allocating a netbuf): added function netconn_recv_tcp_pbuf() for tcp netconns to receive pbufs, not netbufs; use that function for tcp sockets.
|
2010-03-06 11:29:01 +00:00 |
|
goldsimon
|
957f4d8096
|
renamed struct lwip_socket to struct lwip_sock to avoid duplicate names (function lwip_socket)
|
2010-03-06 10:21:03 +00:00 |
|
goldsimon
|
0792effc2a
|
task #7865 (implement non-blocking send operation)
|
2010-02-13 17:08:40 +00:00 |
|
goldsimon
|
49c6ce3703
|
Add a new err_t, ERR_WOULDBLOCK in preparation for non-blocking send
|
2010-02-13 16:03:12 +00:00 |
|
goldsimon
|
8fbaf0304a
|
Added a minimal version of posix fctl() to have a standardised way to set O_NONBLOCK for nonblocking sockets.
|
2010-02-12 17:59:20 +00:00 |
|
goldsimon
|
0030d1ade5
|
task #10139 (Prefer statically allocated memory): converted mbox and semaphore functions to take pointers to sys_mbox_t/sys_sem_t; converted sys_mbox_new/sys_sem_new to take pointers and return err_t; task #7212: Add Mutex concept in sys_arch (define LWIP_COMPAT_MUTEX to let sys.h use binary semaphores instead of mutexes - as before)
|
2010-02-12 13:49:21 +00:00 |
|
goldsimon
|
9e59f661bc
|
Fixed a compiler warning (comparison between signed and unsigned)
|
2010-02-10 08:11:18 +00:00 |
|
goldsimon
|
59a623e648
|
Use sys_arch_sem_wait instead of sys_sem_wait_timeout (same function, different name)
|
2010-02-09 21:04:50 +00:00 |
|
goldsimon
|
306f2203fa
|
Fixed bug #22110 (recv() makes receive window update for data that wasn't received by application); added function-like macros to correctly access/change conn->recv_timeout and conn->recv_bufsize
|
2010-02-09 20:23:39 +00:00 |
|
goldsimon
|
7699b59e27
|
Another fix for bug #28853 (recv returns 0 on recv-timeout or any other error), fixed err_to_errno_table: ERR_TIMEOUT is EWOULDBLOCK, not ETIMEDOUT
|
2010-02-09 20:17:06 +00:00 |
|
goldsimon
|
1550c4215d
|
Fixed bug #28853 (lwip_recvfrom() returns 0 on receive time-out or any netconn_recv() error)
|
2010-02-09 18:46:54 +00:00 |
|
goldsimon
|
b0b4290c29
|
Reduced the time SYS_ARCH_PROTECT is protecting the socket array
|
2010-02-08 17:25:57 +00:00 |
|
goldsimon
|
848debf999
|
Fixed bug #28818 (New connection probably not marked writable on accept()) introduced a week ago while implementing non-blocking connect
|
2010-02-08 12:33:28 +00:00 |
|
goldsimon
|
5d360a6711
|
Replaced struct ip_addr by typedef ip_addr_t to make changing the actual implementation behind the typedef easier.
|
2010-02-04 18:47:44 +00:00 |
|
goldsimon
|
a23b446ddf
|
Use macros defined in ip_addr.h (some of them new) to work with IP addresses (preparation for bug #27352 - Change ip_addr from struct to typedef (u32_t) - and better code).
|
2010-02-04 17:21:32 +00:00 |
|
goldsimon
|
c22d3b4c98
|
Use SYS_LIGHTWEIGHT_PROT instead of a semaphore to protect the sockets array since the protection time is short
|
2010-01-30 15:01:29 +00:00 |
|
goldsimon
|
f8c22c7428
|
Moved freeing a socket to its own function (free_socket, like alloc_socket
|
2010-01-30 14:19:18 +00:00 |
|
goldsimon
|
855dcadf7a
|
Added except set support in select (patch #6860)
|
2010-01-29 23:05:33 +00:00 |
|
goldsimon
|
c70c3eac62
|
Added function-like macro for struct netconn::non_blocking
|
2010-01-29 22:21:45 +00:00 |
|
goldsimon
|
e58f4c567a
|
Add non-blocking support for connect (partly from patch #6860) plus many cleanups in socket & netconn API
|
2010-01-29 22:09:31 +00:00 |
|
goldsimon
|
408829bcf6
|
Fixed compilation for LWIP_TCPIP_CORE_LOCKING
|
2010-01-23 18:13:55 +00:00 |
|
goldsimon
|
dbcce3a4be
|
bug #26523: Compiler Warnings
|
2010-01-23 17:48:36 +00:00 |
|
goldsimon
|
426dd9bfad
|
Fixed bug #28716: select() returns 0 after waiting for less than 1 ms
|
2010-01-23 15:01:15 +00:00 |
|
goldsimon
|
34139606ca
|
task #10102: "netconn: clean up conn->err threading issues" by adding error return value to struct api_msg_msg
|
2010-01-17 18:28:56 +00:00 |
|
goldsimon
|
ca11baf1cd
|
Changed netconn_recv() and netconn_accept() to return err_t (bugs #27709 and #28087)
|
2010-01-17 16:21:07 +00:00 |
|