Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for Bug #36731. #36880

Merged
merged 1 commit into from
Dec 19, 2024
Merged

Fix for Bug #36731. #36880

merged 1 commit into from
Dec 19, 2024

Conversation

pidarped
Copy link
Contributor

@pidarped pidarped commented Dec 18, 2024

Add CloseActiveConnections() call in TCPBase::Close(), which is called as part of Server::Shutdown().
Active connections should be closed as part of Server shutdown. This allows the TCPConnectionState to also close the associated TCPEndpoint object as part of this shutdown flow.

Previously, the CloseActiveConnections() call was present in the TCPBase destructor alone.

Fixes #36731

Copy link

Review changes with  SemanticDiff

Copy link

github-actions bot commented Dec 18, 2024

PR #36880: Size comparison from 37fa873 to 361adab

Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 37fa873 361adab change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1353786 1353786 0 0.0
RAM 104136 104136 0 0.0
bl702 lighting-app bl702+eth FLASH 651960 651960 0 0.0
RAM 25353 25353 0 0.0
bl702+wifi FLASH 829548 829548 0 0.0
RAM 14093 14093 0 0.0
bl706+mfd+rpc+littlefs FLASH 1058020 1058020 0 0.0
RAM 23933 23933 0 0.0
bl702l lighting-app bl702l+mfd+littlefs FLASH 979394 979394 0 0.0
RAM 16596 16596 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 839968 839976 8 0.0
RAM 123672 123672 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 825492 825500 8 0.0
RAM 125560 125560 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 772372 772380 8 0.0
RAM 114036 114036 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 756560 756568 8 0.0
RAM 114236 114236 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 539853 539861 8 0.0
RAM 205776 205776 0 0.0
lock CC3235SF_LAUNCHXL FLASH 574149 574157 8 0.0
RAM 205920 205920 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 681737 681737 0 0.0
RAM 78732 78732 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 701589 701589 0 0.0
RAM 81372 81372 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 701589 701589 0 0.0
RAM 81372 81372 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 658517 658517 0 0.0
RAM 73800 73800 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 618353 618353 0 0.0
RAM 71724 71724 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 637981 637981 0 0.0
RAM 74268 74268 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 637981 637981 0 0.0
RAM 74268 74268 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 637753 637753 0 0.0
RAM 74732 74732 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 657461 657461 0 0.0
RAM 77276 77276 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 657461 657461 0 0.0
RAM 77276 77276 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 614205 614205 0 0.0
RAM 68820 68820 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 634065 634065 0 0.0
RAM 71452 71452 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 634065 634065 0 0.0
RAM 71452 71452 0 0.0
efr32 lock-app BRD4187C FLASH 932620 932620 0 0.0
RAM 160204 160204 0 0.0
BRD4338a FLASH 746584 746584 0 0.0
RAM 233332 233332 0 0.0
window-app BRD4187C FLASH 1025232 1025224 -8 -0.0
RAM 128308 128308 0 0.0
esp32 all-clusters-app c3devkit DRAM 95376 95376 0 0.0
FLASH 1543590 1543590 0 0.0
IRAM 82542 82542 0 0.0
m5stack DRAM 116320 116320 0 0.0
FLASH 1550190 1550190 0 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4720 4720 0 0.0
FLASH 2716225 2716249 24 0.0
RAM 129928 129928 0 0.0
all-clusters-app debug unknown 5560 5560 0 0.0
FLASH 6009536 6009560 24 0.0
RAM 523640 523640 0 0.0
all-clusters-minimal-app debug unknown 5456 5456 0 0.0
FLASH 5346044 5346068 24 0.0
RAM 242728 242728 0 0.0
bridge-app debug unknown 5440 5440 0 0.0
FLASH 4685580 4685604 24 0.0
RAM 218528 218528 0 0.0
chip-tool debug unknown 5992 5992 0 0.0
FLASH 12849428 12849452 24 0.0
RAM 582506 582506 0 0.0
chip-tool-ipv6only arm64 unknown 21352 21352 0 0.0
FLASH 10984032 10984064 32 0.0
RAM 633432 633432 0 0.0
fabric-admin debug unknown 5816 5816 0 0.0
FLASH 11255977 11256001 24 0.0
RAM 582850 582850 0 0.0
fabric-bridge-app debug unknown 4696 4696 0 0.0
FLASH 4511112 4511136 24 0.0
RAM 205696 205696 0 0.0
fabric-sync debug unknown 4936 4936 0 0.0
FLASH 5611173 5611189 16 0.0
RAM 472696 472696 0 0.0
lighting-app debug+rpc+ui unknown 6104 6104 0 0.0
FLASH 5622305 5622337 32 0.0
RAM 228888 228888 0 0.0
lock-app debug unknown 5376 5376 0 0.0
FLASH 4734852 4734876 24 0.0
RAM 204872 204872 0 0.0
ota-provider-app debug unknown 4752 4752 0 0.0
FLASH 4360558 4360582 24 0.0
RAM 198560 198560 0 0.0
ota-requestor-app debug unknown 4688 4688 0 0.0
FLASH 4499582 4499606 24 0.0
RAM 203144 203144 0 0.0
shell debug unknown 4248 4248 0 0.0
FLASH 3033469 3033485 16 0.0
RAM 160552 160552 0 0.0
thermostat-no-ble arm64 unknown 9552 9552 0 0.0
FLASH 4104832 4104848 16 0.0
RAM 243168 243168 0 0.0
tv-app debug unknown 5704 5704 0 0.0
FLASH 5960165 5960181 16 0.0
RAM 596128 596128 0 0.0
tv-casting-app debug unknown 5288 5288 0 0.0
FLASH 11055821 1105583 16 0.0
RAM 692328 692328 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 918112 918112 0 0.0
RAM 143308 143308 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 890256 890256 0 0.0
RAM 141495 141495 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 851992 851992 0 0.0
RAM 142220 142220 0 0.0
nxp contact k32w0+release FLASH 585624 585624 0 0.0
RAM 71088 71088 0 0.0
mcxw71+release FLASH 600320 600320 0 0.0
RAM 63184 63184 0 0.0
light k32w0+release FLASH 612548 612548 0 0.0
RAM 70480 70480 0 0.0
k32w1+release FLASH 686808 686808 0 0.0
RAM 48816 48816 0 0.0
lock mcxw71+release FLASH 763216 763216 0 0.0
RAM 70852 70852 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1647132 1647148 16 0.0
RAM 212104 212104 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1554564 1554580 16 0.0
RAM 208920 208920 0 0.0
light cy8ckit_062s2_43012 FLASH 1469884 1469884 0 0.0
RAM 200888 200888 0 0.0
lock cy8ckit_062s2_43012 FLASH 1467604 1467620 16 0.0
RAM 225248 225248 0 0.0
qpg lighting-app qpg6105+debug FLASH 664288 664288 0 0.0
RAM 105432 105432 0 0.0
lock-app qpg6105+debug FLASH 622108 622108 0 0.0
RAM 99884 99884 0 0.0
stm32 light STM32WB5MM-DK FLASH 485004 485004 0 0.0
RAM 144888 144888 0 0.0
telink bridge-app tlsr9258a FLASH 683206 683206 0 0.0
RAM 91224 91224 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 623620 623620 0 0.0
RAM 31456 31456 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 772438 772438 0 0.0
RAM 49316 49316 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 711060 711060 0 0.0
RAM 73520 73520 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 628076 628076 0 0.0
RAM 142156 142156 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 814094 814094 0 0.0
RAM 99700 99700 0 0.0
tizen all-clusters-app arm unknown 4996 4996 0 0.0
FLASH 1734952 1734968 16 0.0
RAM 90788 90788 0 0.0
chip-tool-ubsan arm unknown 10804 10804 0 0.0
FLASH 17973686 17973766 80 0.0
RAM 7842724 7842764 40 0.0

Copy link

github-actions bot commented Dec 18, 2024

PR #36880: Size comparison from 37fa873 to 89a611c

Full report (54 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 37fa873 89a611c change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1353786 1353786 0 0.0
RAM 104136 104136 0 0.0
bl702 lighting-app bl702+eth FLASH 651960 651960 0 0.0
RAM 25353 25353 0 0.0
bl702+wifi FLASH 829548 829548 0 0.0
RAM 14093 14093 0 0.0
bl706+mfd+rpc+littlefs FLASH 1058020 1058020 0 0.0
RAM 23933 23933 0 0.0
bl702l lighting-app bl702l+mfd+littlefs FLASH 979394 979394 0 0.0
RAM 16596 16596 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 839968 839992 24 0.0
RAM 123672 123672 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 825492 825516 24 0.0
RAM 125560 125560 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 772372 772380 8 0.0
RAM 114036 114036 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 756560 756568 8 0.0
RAM 114236 114236 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 539853 539861 8 0.0
RAM 205776 205776 0 0.0
lock CC3235SF_LAUNCHXL FLASH 574149 574173 24 0.0
RAM 205920 205920 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 681737 681745 8 0.0
RAM 78732 78732 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 701589 701597 8 0.0
RAM 81372 81372 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 701589 701597 8 0.0
RAM 81372 81372 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 658517 658525 8 0.0
RAM 73800 73800 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 618353 618361 8 0.0
RAM 71724 71724 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 637981 637989 8 0.0
RAM 74268 74268 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 637981 637989 8 0.0
RAM 74268 74268 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 637753 637761 8 0.0
RAM 74732 74732 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 657461 657469 8 0.0
RAM 77276 77276 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 657461 657469 8 0.0
RAM 77276 77276 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 614205 614213 8 0.0
RAM 68820 68820 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 634065 634073 8 0.0
RAM 71452 71452 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 634065 634073 8 0.0
RAM 71452 71452 0 0.0
efr32 lock-app BRD4187C FLASH 932620 932620 0 0.0
RAM 160204 160204 0 0.0
BRD4338a FLASH 746584 746584 0 0.0
RAM 233332 233332 0 0.0
window-app BRD4187C FLASH 1025232 1025256 24 0.0
RAM 128308 128308 0 0.0
esp32 all-clusters-app c3devkit DRAM 95376 95376 0 0.0
FLASH 1543590 1543600 10 0.0
IRAM 82542 82542 0 0.0
m5stack DRAM 116320 116320 0 0.0
FLASH 1550190 1550198 8 0.0
IRAM 117039 117039 0 0.0
linux chip-tool-ipv6only arm64 unknown 21352 21352 0 0.0
FLASH 10984032 10984064 32 0.0
RAM 633432 633432 0 0.0
thermostat-no-ble arm64 unknown 9552 9552 0 0.0
FLASH 4104832 4104960 128 0.0
RAM 243168 243168 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 918112 918120 8 0.0
RAM 143308 143308 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 890256 890264 8 0.0
RAM 141495 141495 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 851992 852004 12 0.0
RAM 142220 142220 0 0.0
nxp contact k32w0+release FLASH 585624 585624 0 0.0
RAM 71088 71088 0 0.0
mcxw71+release FLASH 600320 600320 0 0.0
RAM 63184 63184 0 0.0
light k32w0+release FLASH 612548 612548 0 0.0
RAM 70480 70480 0 0.0
k32w1+release FLASH 686808 686808 0 0.0
RAM 48816 48816 0 0.0
lock mcxw71+release FLASH 763216 763216 0 0.0
RAM 70852 70852 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1647132 1647148 16 0.0
RAM 212104 212104 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1554564 1554580 16 0.0
RAM 208920 208920 0 0.0
light cy8ckit_062s2_43012 FLASH 1469884 1469900 16 0.0
RAM 200888 200888 0 0.0
lock cy8ckit_062s2_43012 FLASH 1467604 1467620 16 0.0
RAM 225248 225248 0 0.0
qpg lighting-app qpg6105+debug FLASH 664288 664304 16 0.0
RAM 105432 105432 0 0.0
lock-app qpg6105+debug FLASH 622108 622108 0 0.0
RAM 99884 99884 0 0.0
stm32 light STM32WB5MM-DK FLASH 485004 485012 8 0.0
RAM 144888 144888 0 0.0
telink bridge-app tlsr9258a FLASH 683206 683216 10 0.0
RAM 91224 91224 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 623620 623630 10 0.0
RAM 31456 31456 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 772438 772448 10 0.0
RAM 49316 49316 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 711060 711070 10 0.0
RAM 73520 73520 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 628076 628086 10 0.0
RAM 142156 142156 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 814094 814104 10 0.0
RAM 99700 99700 0 0.0
tizen all-clusters-app arm unknown 4996 4996 0 0.0
FLASH 1734952 1735024 72 0.0
RAM 90788 90788 0 0.0
chip-tool-ubsan arm unknown 10804 10804 0 0.0
FLASH 17973686 17973766 80 0.0
RAM 7842724 7842764 40 0.0

Copy link

github-actions bot commented Dec 18, 2024

PR #36880: Size comparison from 3314bc3 to 6453535

Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 3314bc3 6453535 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1353786 1353786 0 0.0
RAM 104136 104136 0 0.0
bl702 lighting-app bl702+eth FLASH 651960 651960 0 0.0
RAM 25353 25353 0 0.0
bl702+wifi FLASH 829548 829548 0 0.0
RAM 14093 14093 0 0.0
bl706+mfd+rpc+littlefs FLASH 1058020 1058020 0 0.0
RAM 23933 23933 0 0.0
bl702l lighting-app bl702l+mfd+littlefs FLASH 979394 979394 0 0.0
RAM 16596 16596 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 839984 839976 -8 -0.0
RAM 123672 123672 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 825508 825500 -8 -0.0
RAM 125560 125560 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 772372 772364 -8 -0.0
RAM 114036 114036 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 756560 756552 -8 -0.0
RAM 114236 114236 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 539853 539845 -8 -0.0
RAM 205776 205776 0 0.0
lock CC3235SF_LAUNCHXL FLASH 574165 574157 -8 -0.0
RAM 205920 205920 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 681745 681745 0 0.0
RAM 78732 78732 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 701597 701597 0 0.0
RAM 81372 81372 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 701597 701597 0 0.0
RAM 81372 81372 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 658525 658525 0 0.0
RAM 73800 73800 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 618361 618361 0 0.0
RAM 71724 71724 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 637989 637989 0 0.0
RAM 74268 74268 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 637989 637989 0 0.0
RAM 74268 74268 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 637761 637761 0 0.0
RAM 74732 74732 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 657469 657469 0 0.0
RAM 77276 77276 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 657469 657469 0 0.0
RAM 77276 77276 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 614213 614213 0 0.0
RAM 68820 68820 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 634073 634073 0 0.0
RAM 71452 71452 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 634073 634073 0 0.0
RAM 71452 71452 0 0.0
efr32 lock-app BRD4187C FLASH 932620 932620 0 0.0
RAM 160204 160204 0 0.0
BRD4338a FLASH 746584 746584 0 0.0
RAM 233332 233332 0 0.0
window-app BRD4187C FLASH 1025264 1025256 -8 -0.0
RAM 128308 128308 0 0.0
esp32 all-clusters-app c3devkit DRAM 95376 95376 0 0.0
FLASH 1543600 1543600 0 0.0
IRAM 82542 82542 0 0.0
m5stack DRAM 116320 116320 0 0.0
FLASH 1550198 1550198 0 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4720 4720 0 0.0
FLASH 2716225 2716209 -16 -0.0
RAM 129928 129928 0 0.0
all-clusters-app debug unknown 5560 5560 0 0.0
FLASH 6009676 6009660 -16 -0.0
RAM 523640 523640 0 0.0
all-clusters-minimal-app debug unknown 5456 5456 0 0.0
FLASH 5346184 5346168 -16 -0.0
RAM 242728 242728 0 0.0
bridge-app debug unknown 5440 5440 0 0.0
FLASH 4685720 4685704 -16 -0.0
RAM 218528 218528 0 0.0
chip-tool debug unknown 5992 5992 0 0.0
FLASH 12849428 12849412 -16 -0.0
RAM 582506 582506 0 0.0
chip-tool-ipv6only arm64 unknown 21352 21352 0 0.0
FLASH 10984032 10984032 0 0.0
RAM 633432 633432 0 0.0
fabric-admin debug unknown 5816 5816 0 0.0
FLASH 11255977 11255961 -16 -0.0
RAM 582850 582850 0 0.0
fabric-bridge-app debug unknown 4696 4696 0 0.0
FLASH 4511112 4511096 -16 -0.0
RAM 205696 205696 0 0.0
fabric-sync debug unknown 4936 4936 0 0.0
FLASH 5611173 5611157 -16 -0.0
RAM 472696 472696 0 0.0
lighting-app debug+rpc+ui unknown 6104 6104 0 0.0
FLASH 5622449 5622433 -16 -0.0
RAM 228888 228888 0 0.0
lock-app debug unknown 5376 5376 0 0.0
FLASH 4734992 4734976 -16 -0.0
RAM 204872 204872 0 0.0
ota-provider-app debug unknown 4752 4752 0 0.0
FLASH 4360698 4360682 -16 -0.0
RAM 198560 198560 0 0.0
ota-requestor-app debug unknown 4688 4688 0 0.0
FLASH 4499722 4499706 -16 -0.0
RAM 203144 203144 0 0.0
shell debug unknown 4248 4248 0 0.0
FLASH 3033613 3033597 -16 -0.0
RAM 160552 160552 0 0.0
thermostat-no-ble arm64 unknown 9552 9552 0 0.0
FLASH 4104928 4104928 0 0.0
RAM 243168 243168 0 0.0
tv-app debug unknown 5704 5704 0 0.0
FLASH 5960293 5960277 -16 -0.0
RAM 596128 596128 0 0.0
tv-casting-app debug unknown 5288 5288 0 0.0
FLASH 11055821 11055805 -16 -0.0
RAM 692328 692328 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 918120 918120 0 0.0
RAM 143308 143308 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 890264 890264 0 0.0
RAM 141495 141495 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 852004 852004 0 0.0
RAM 142220 142220 0 0.0
nxp contact k32w0+release FLASH 585624 585624 0 0.0
RAM 71088 71088 0 0.0
mcxw71+release FLASH 600320 600320 0 0.0
RAM 63184 63184 0 0.0
light k32w0+release FLASH 612548 612548 0 0.0
RAM 70480 70480 0 0.0
k32w1+release FLASH 686808 686808 0 0.0
RAM 48816 48816 0 0.0
lock mcxw71+release FLASH 763216 763216 0 0.0
RAM 70852 70852 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1647148 1647132 -16 -0.0
RAM 212104 212104 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1554580 1554564 -16 -0.0
RAM 208920 208920 0 0.0
light cy8ckit_062s2_43012 FLASH 1469884 1469884 0 0.0
RAM 200888 200888 0 0.0
lock cy8ckit_062s2_43012 FLASH 1467620 1467604 -16 -0.0
RAM 225248 225248 0 0.0
qpg lighting-app qpg6105+debug FLASH 664304 664304 0 0.0
RAM 105432 105432 0 0.0
lock-app qpg6105+debug FLASH 622108 622108 0 0.0
RAM 99884 99884 0 0.0
stm32 light STM32WB5MM-DK FLASH 485012 485012 0 0.0
RAM 144888 144888 0 0.0
telink bridge-app tlsr9258a FLASH 683216 683216 0 0.0
RAM 91224 91224 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 623630 623630 0 0.0
RAM 31456 31456 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 772448 772448 0 0.0
RAM 49316 49316 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 711070 711070 0 0.0
RAM 73520 73520 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 628086 628086 0 0.0
RAM 142156 142156 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 814104 814104 0 0.0
RAM 99700 99700 0 0.0
tizen all-clusters-app arm unknown 4996 4996 0 0.0
FLASH 1735008 1735000 -8 -0.0
RAM 90788 90788 0 0.0
chip-tool-ubsan arm unknown 10804 10804 0 0.0
FLASH 17973686 17973526 -160 -0.0
RAM 7842724 7842648 -76 -0.0

@pidarped pidarped requested a review from a team December 18, 2024 06:45
Add CloseActiveConnections() call in TCPBase::Close(), which
is called as part of Server::Shutdown().
Active connections should be closed as part of Server shutdown.
This allows the TCPConnectionState to also close the associated
TCPEndpoint object as part of this shutdown flow.

Previously, the CloseActiveConnections() call was present in the
TCPBase destructor alone.

Add test for Connection Close() and checking for TCPEndPoint.
Copy link

github-actions bot commented Dec 19, 2024

PR #36880: Size comparison from 238e801 to 204d590

Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 238e801 204d590 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1354296 1354296 0 0.0
RAM 104144 104144 0 0.0
bl702 lighting-app bl702+eth FLASH 652076 652076 0 0.0
RAM 25353 25353 0 0.0
bl702+wifi FLASH 829680 829680 0 0.0
RAM 14093 14093 0 0.0
bl706+mfd+rpc+littlefs FLASH 1058152 1058152 0 0.0
RAM 23933 23933 0 0.0
bl702l lighting-app bl702l+mfd+littlefs FLASH 979526 979526 0 0.0
RAM 16596 16596 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 840088 840080 -8 -0.0
RAM 123680 123680 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 825620 825612 -8 -0.0
RAM 125568 125568 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 772496 772488 -8 -0.0
RAM 114044 114044 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 756676 756668 -8 -0.0
RAM 114244 114244 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 540025 540017 -8 -0.0
RAM 205784 205784 0 0.0
lock CC3235SF_LAUNCHXL FLASH 574337 574329 -8 -0.0
RAM 205928 205928 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 681865 681865 0 0.0
RAM 78740 78740 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 701717 701717 0 0.0
RAM 81380 81380 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 701717 701717 0 0.0
RAM 81380 81380 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 658645 658645 0 0.0
RAM 73808 73808 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 618489 618489 0 0.0
RAM 71732 71732 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 638117 638117 0 0.0
RAM 74276 74276 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 638117 638117 0 0.0
RAM 74276 74276 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 637889 637889 0 0.0
RAM 74740 74740 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 657597 657597 0 0.0
RAM 77284 77284 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 657597 657597 0 0.0
RAM 77284 77284 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 614341 614341 0 0.0
RAM 68828 68828 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 634193 634193 0 0.0
RAM 71460 71460 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 634193 634193 0 0.0
RAM 71460 71460 0 0.0
efr32 lock-app BRD4187C FLASH 932708 932708 0 0.0
RAM 160212 160212 0 0.0
BRD4338a FLASH 746704 746704 0 0.0
RAM 233340 233340 0 0.0
window-app BRD4187C FLASH 1025376 1025368 -8 -0.0
RAM 128316 128316 0 0.0
esp32 all-clusters-app c3devkit DRAM 95384 95384 0 0.0
FLASH 1543722 1543722 0 0.0
IRAM 82542 82542 0 0.0
m5stack DRAM 116328 116328 0 0.0
FLASH 1550286 1550286 0 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4720 4720 0 0.0
FLASH 2716739 2716723 -16 -0.0
RAM 130024 130024 0 0.0
all-clusters-app debug unknown 5560 5560 0 0.0
FLASH 6010188 6010172 -16 -0.0
RAM 523720 523720 0 0.0
all-clusters-minimal-app debug unknown 5456 5456 0 0.0
FLASH 5346696 5346680 -16 -0.0
RAM 242808 242808 0 0.0
bridge-app debug unknown 5440 5440 0 0.0
FLASH 4686232 4686216 -16 -0.0
RAM 218656 218656 0 0.0
chip-tool debug unknown 5992 5992 0 0.0
FLASH 12849884 12849868 -16 -0.0
RAM 582594 582594 0 0.0
chip-tool-ipv6only arm64 unknown 21360 21360 0 0.0
FLASH 10984448 10984432 -16 -0.0
RAM 633536 633536 0 0.0
fabric-admin debug unknown 5816 5816 0 0.0
FLASH 11256433 11256417 -16 -0.0
RAM 582946 582946 0 0.0
fabric-bridge-app debug unknown 4696 4696 0 0.0
FLASH 4511624 4511608 -16 -0.0
RAM 205824 205824 0 0.0
fabric-sync debug unknown 4936 4936 0 0.0
FLASH 5611685 5611669 -16 -0.0
RAM 472792 472792 0 0.0
lighting-app debug+rpc+ui unknown 6104 6104 0 0.0
FLASH 5622961 5622945 -16 -0.0
RAM 228984 228984 0 0.0
lock-app debug unknown 5376 5376 0 0.0
FLASH 4735504 4735488 -16 -0.0
RAM 204968 204968 0 0.0
ota-provider-app debug unknown 4752 4752 0 0.0
FLASH 4361210 4361194 -16 -0.0
RAM 198656 198656 0 0.0
ota-requestor-app debug unknown 4688 4688 0 0.0
FLASH 4500234 4500218 -16 -0.0
RAM 203240 203240 0 0.0
shell debug unknown 4248 4248 0 0.0
FLASH 3034125 3034109 -16 -0.0
RAM 160640 160640 0 0.0
thermostat-no-ble arm64 unknown 9560 9560 0 0.0
FLASH 4105424 4105424 0 0.0
RAM 243288 243288 0 0.0
tv-app debug unknown 5704 5704 0 0.0
FLASH 5960805 5960789 -16 -0.0
RAM 596208 596208 0 0.0
tv-casting-app debug unknown 5288 5288 0 0.0
FLASH 11056365 11056349 -16 -0.0
RAM 692472 692472 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 918208 918208 0 0.0
RAM 143316 143316 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 890368 890368 0 0.0
RAM 141503 141503 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 852092 852092 0 0.0
RAM 142228 142228 0 0.0
nxp contact k32w0+release FLASH 585712 585712 0 0.0
RAM 71096 71096 0 0.0
mcxw71+release FLASH 600416 600416 0 0.0
RAM 63192 63192 0 0.0
light k32w0+release FLASH 612620 612620 0 0.0
RAM 70488 70488 0 0.0
k32w1+release FLASH 686904 686904 0 0.0
RAM 48824 48824 0 0.0
lock mcxw71+release FLASH 763312 763312 0 0.0
RAM 70860 70860 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1647268 1647268 0 0.0
RAM 212112 212112 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1554708 1554708 0 0.0
RAM 208928 208928 0 0.0
light cy8ckit_062s2_43012 FLASH 1470028 1470028 0 0.0
RAM 200896 200896 0 0.0
lock cy8ckit_062s2_43012 FLASH 1467748 1467748 0 0.0
RAM 225256 225256 0 0.0
qpg lighting-app qpg6105+debug FLASH 664400 664400 0 0.0
RAM 105440 105440 0 0.0
lock-app qpg6105+debug FLASH 622212 622212 0 0.0
RAM 99892 99892 0 0.0
stm32 light STM32WB5MM-DK FLASH 485112 485112 0 0.0
RAM 144896 144896 0 0.0
telink bridge-app tlsr9258a FLASH 683318 683318 0 0.0
RAM 91232 91232 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 623738 623738 0 0.0
RAM 31472 31472 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 772556 772556 0 0.0
RAM 49332 49332 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 711178 711178 0 0.0
RAM 73528 73528 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 628188 628188 0 0.0
RAM 142164 142164 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 814206 814206 0 0.0
RAM 99708 99708 0 0.0
tizen all-clusters-app arm unknown 5000 5000 0 0.0
FLASH 1735380 1735372 -8 -0.0
RAM 90840 90840 0 0.0
chip-tool-ubsan arm unknown 10808 10808 0 0.0
FLASH 17975582 17975430 -152 -0.0
RAM 7843540 7843464 -76 -0.0

@mergify mergify bot merged commit 93e50c7 into project-chip:master Dec 19, 2024
68 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Heap-Use-After-Free in TCPBase::CloseActiveConnections During Shutdown
3 participants