micropython/extmod
Damien George 019dd84af1 extmod/modlwip: Register TCP close-timeout callback before closing PCB.
In d5f0c87bb9 this call to tcp_poll() was
added to put a timeout on closing TCP sockets.  But after calling
tcp_close() the PCB may be freed and therefore invalid, so tcp_poll() can
not be used at that point.  As a fix this commit calls tcp_poll() before
closing the TCP PCB.  If the PCB is subsequently closed and freed by
tcp_close() or tcp_abort() then the PCB will not be on any active list and
the callback will not be executed, which is the desired behaviour (the
_lwip_tcp_close_poll() callback only needs to be called if the PCB remains
active for longer than the timeout).
2019-05-29 01:29:48 +10:00
..
axtls-include
crypto-algorithms
lwip-include
re1.5
uzlib
machine_i2c.c extmod/machine_i2c: Add i2c.writevto() that can write a vector of bufs. 2019-05-20 15:04:29 +10:00
machine_i2c.h extmod/machine_i2c: Change C-level API to allow split I2C transactions. 2019-05-20 15:04:29 +10:00
machine_mem.c
machine_mem.h
machine_pinbase.c
machine_pinbase.h
machine_pulse.c
machine_pulse.h
machine_signal.c extmod/machine_signal: Fix fault when no args are passed to Signal(). 2019-04-26 14:47:31 +10:00
machine_signal.h
machine_spi.c
machine_spi.h
misc.h stm32: Make default USB_VCP stream go through uos.dupterm for main REPL. 2019-04-01 13:04:05 +11:00
modbtree.c
modframebuf.c
modlwip.c extmod/modlwip: Register TCP close-timeout callback before closing PCB. 2019-05-29 01:29:48 +10:00
modonewire.c
modubinascii.c
modubinascii.h
moducryptolib.c extmod/moducryptolib: Add AES-CTR support for axTLS builds. 2019-05-06 18:20:56 +10:00
moductypes.c extmod: Convert legacy uppercase macro names to lowercase. 2019-02-12 14:54:51 +11:00
moduhashlib.c extmod/moduhashlib: Include implementation of sha256 only when required. 2019-02-07 23:27:58 +11:00
moduheapq.c extmod: Convert legacy uppercase macro names to lowercase. 2019-02-12 14:54:51 +11:00
modujson.c extmod/modujson: Handle parsing of floats with + in the exponent. 2019-05-14 14:45:54 +10:00
modurandom.c extmod/modurandom: Add init method to seed the Yasmarang generator. 2019-04-16 14:54:36 +10:00
modure.c
moduselect.c various: Add and update my copyright line based on git history. 2019-05-17 18:04:15 +10:00
modussl_axtls.c extmod/modussl_axtls: Add non-blocking mode support. 2019-04-30 17:26:37 +10:00
modussl_mbedtls.c extmod/modussl_mbedtls: Support non-blocking handshake. 2019-04-30 17:24:46 +10:00
modutimeq.c extmod: Convert legacy uppercase macro names to lowercase. 2019-02-12 14:54:51 +11:00
moduwebsocket.c extmod/moduwebsocket: Refactor `websocket` to `uwebsocket`. 2019-02-14 00:35:45 +11:00
moduwebsocket.h extmod/moduwebsocket: Refactor `websocket` to `uwebsocket`. 2019-02-14 00:35:45 +11:00
moduzlib.c
modwebrepl.c extmod/modwebrepl: Fix logic to handle a put of file of size 0. 2019-02-28 15:30:48 +11:00
uos_dupterm.c stm32: Make default USB_VCP stream go through uos.dupterm for main REPL. 2019-04-01 13:04:05 +11:00
utime_mphal.c
utime_mphal.h
vfs.c extmod: Convert legacy uppercase macro names to lowercase. 2019-02-12 14:54:51 +11:00
vfs.h
vfs_fat.c extmod/vfs_fat: Fallback to FAT32 if standard FAT16/SFD format fails. 2019-03-26 17:15:23 +11:00
vfs_fat.h
vfs_fat_diskio.c extmod/vfs_fat: Update for new oofatfs version. 2019-03-05 15:56:39 +11:00
vfs_fat_file.c
vfs_posix.c extmod: Convert legacy uppercase macro names to lowercase. 2019-02-12 14:54:51 +11:00
vfs_posix.h
vfs_posix_file.c extmod: Convert legacy uppercase macro names to lowercase. 2019-02-12 14:54:51 +11:00
vfs_reader.c
virtpin.c
virtpin.h