Commit Graph

13 Commits

Author SHA1 Message Date
Johny Mattsson c0145e03f9 Fix net module losing TCP data. (#2825)
The netbuf_data() function only returns data from the first pbuf in the
chain. We need to use netbuf_first() and netbuf_next() to walk the
pbuf chain and act on each in turn.
2019-07-11 09:43:25 +02:00
devsaurus 7ded3960eb fix net hold/unhold 2018-10-20 22:58:57 +02:00
devsaurus 0b998e5612 tolerate multiple netconn callbacks for a single send job 2017-11-12 17:41:29 +01:00
devsaurus b2f09da2e2 ignore return code from netconn_delete, fix #2096 2017-09-12 22:22:00 +02:00
devsaurus 412db2e339 propagate error code for close 2017-08-14 14:29:42 +02:00
devsaurus f501b84090 signal an error in case TCP send data was only written partly 2017-07-21 22:50:36 +02:00
devsaurus d26c8ea290 promote closing flag to serve all socket types
and set it consistently also for intended netconn close to prevent any cb activity
2017-07-20 21:23:38 +02:00
devsaurus abbd384da3 first batch of review feedback 2017-07-20 21:04:21 +02:00
devsaurus 070973e68c Port net module to netconn API. 2017-07-18 20:45:20 +02:00
Arnim Läuger 21e1cadf05 ESP32: Fix event id for post_net_accept() (#1869)
* ESP32: Fix event id for post_net_accept()
2017-03-20 00:51:51 +11:00
Johny Mattsson 4ece8de4d9 net module: hold/unhold support.
As per @djphoenix's work on the ESP8266 side.
2016-12-30 15:55:14 +11:00
Johny Mattsson 6bce18f9ac net module: Server timeout support
As per @djphoenix's version on the ESP8266 side.
2016-12-30 15:39:07 +11:00
Johny Mattsson be5dafb264 Imported @djphoenix's new native LWIP net module.
Based on his revision 2d290a24a0914be88e5ca4ac7b1018392fe75fe2
(https://github.com/djphoenix/nodemcu-firmware).

All LWIP callback handling changed to use the NodeMCU task interface
to make it usable on RTOS.

IPv4 assumptions have been removed, and this net module /should/ now
be IPv6 ready, but aside from compilation no testing has been done
in this area.

SSL integration points not touched - some work needed there once we
have an mbedTLS module.
2016-10-06 17:24:08 +11:00