Commit 2546861
committed
Merge pull request atomvm#551 from pguyot/w18/further-socket_driver-fixes
Further esp32 socket_driver fixes
- Fix protocol issue with UDP (didn't return IP and port)
- Fix issue with UDP pid
- Fix potential blocking issue where callback would be called several times
between reads of the socket
- Add workaround for a limitation of lwIP allowing for a server accepting
connections to receive data (and invoke callback) before `netconn_accept` is
called
- Fix concurrency issues
- Fix a memory corruption issue caused by a mis-allocation
- Add more tests
These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).
SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-laterFile tree
3 files changed
+528
-164
lines changed- src/platforms/esp32
- components
- avm_builtins
- avm_sys/include
- test/main/test_erl_sources
3 files changed
+528
-164
lines changed
0 commit comments