Skip to content

Commit cfb67ac

Browse files
wqx6restyled-commitsbzbarsky-apple
authored andcommitted
TCP: Use RunOnTCPIP() for the LwIP TCP EndPoint and create pre-allocated connection endpoint for listen endpoint (project-chip#36962)
* TCP: Use RunOnTCPIP for the LwIP TCP EndPoint * fix memory leak when the pbuf_alloc gets a packet buffer with chained buffers * Restyled by clang-format * fix build issue * Try to fix CI build errors * move RunOnMatterContext to LayerFreeRTOS * add macro for PlatformEventing::LockMatterStack/UnlockMatterStack * make the new function public in LayerFreeRTOS * fix typo * add some comments in Packet buffer * Restyled by clang-format * Add macro for the RunWithMatterContextLock function * add some comment for avoiding dead lock with the new added function * review changes and revert packet buffer changes * Add PlatformLockSupport for system layer * Restyled by clang-format * fix CI build * review changes * remove some docs * use closure * Update src/platform/PlatformLockSupport.cpp Co-authored-by: Boris Zbarsky <bzbarsky@apple.com> * update src/platform/PlatformLockSupport.cpp * Revert "update src/platform/PlatformLockSupport.cpp" This reverts commit 99f823c. * Use a pre allocated endpoint for the TCP connection * Restyled by clang-format * revert the change in system * Add pre allocated connection releasing when closing listen endpoint * typo fix * Update src/inet/TCPEndPointImplLwIP.cpp Co-authored-by: Boris Zbarsky <bzbarsky@apple.com> --------- Co-authored-by: Restyled.io <commits@restyled.io> Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
1 parent 2336b95 commit cfb67ac

File tree

2 files changed

+175
-184
lines changed

2 files changed

+175
-184
lines changed

0 commit comments

Comments
 (0)