Skip to content

Commit

Permalink
Increase LWIP timeouts to avoid MDNS panics (#2653)
Browse files Browse the repository at this point in the history
Bump up the LWIP_ARP setting to increase the LWIP timeout pool to
avoid a panic when using SimpleMDNS and TCP clients.

Fixes #2650
  • Loading branch information
earlephilhower authored Nov 30, 2024
1 parent 633faa1 commit 6024e9a
Show file tree
Hide file tree
Showing 29 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/lwipopts.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ extern unsigned long __lwip_rand(void);
#define MEMP_NUM_TCP_SEG (32)
#define MEMP_NUM_ARP_QUEUE (10)
#define PBUF_POOL_SIZE (__LWIP_MEMMULT > 1 ? 32 : 24)
#define LWIP_ARP 5
#define LWIP_ARP 7
#define LWIP_ETHERNET 1
#define LWIP_ICMP 1
#define LWIP_RAW 1
Expand Down
Binary file modified lib/rp2040/libipv4-big.a
Binary file not shown.
Binary file modified lib/rp2040/libipv4-bt-big.a
Binary file not shown.
Binary file modified lib/rp2040/libipv4-bt.a
Binary file not shown.
Binary file modified lib/rp2040/libipv4-ipv6-big.a
Binary file not shown.
Binary file modified lib/rp2040/libipv4-ipv6-bt-big.a
Binary file not shown.
Binary file modified lib/rp2040/libipv4-ipv6-bt.a
Binary file not shown.
Binary file modified lib/rp2040/libipv4-ipv6.a
Binary file not shown.
Binary file modified lib/rp2040/libipv4.a
Binary file not shown.
Binary file modified lib/rp2040/libpico.a
Binary file not shown.
Binary file modified lib/rp2350-riscv/libipv4-big.a
Binary file not shown.
Binary file modified lib/rp2350-riscv/libipv4-bt-big.a
Binary file not shown.
Binary file modified lib/rp2350-riscv/libipv4-bt.a
Binary file not shown.
Binary file modified lib/rp2350-riscv/libipv4-ipv6-big.a
Binary file not shown.
Binary file modified lib/rp2350-riscv/libipv4-ipv6-bt-big.a
Binary file not shown.
Binary file modified lib/rp2350-riscv/libipv4-ipv6-bt.a
Binary file not shown.
Binary file modified lib/rp2350-riscv/libipv4-ipv6.a
Binary file not shown.
Binary file modified lib/rp2350-riscv/libipv4.a
Binary file not shown.
Binary file modified lib/rp2350-riscv/libpico.a
Binary file not shown.
Binary file modified lib/rp2350/libipv4-big.a
Binary file not shown.
Binary file modified lib/rp2350/libipv4-bt-big.a
Binary file not shown.
Binary file modified lib/rp2350/libipv4-bt.a
Binary file not shown.
Binary file modified lib/rp2350/libipv4-ipv6-big.a
Binary file not shown.
Binary file modified lib/rp2350/libipv4-ipv6-bt-big.a
Binary file not shown.
Binary file modified lib/rp2350/libipv4-ipv6-bt.a
Binary file not shown.
Binary file modified lib/rp2350/libipv4-ipv6.a
Binary file not shown.
Binary file modified lib/rp2350/libipv4.a
Binary file not shown.
Binary file modified lib/rp2350/libpico.a
Binary file not shown.
2 changes: 1 addition & 1 deletion tools/libpico/lwipopts.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ extern unsigned long __lwip_rand(void);
#define MEMP_NUM_TCP_SEG (32)
#define MEMP_NUM_ARP_QUEUE (10)
#define PBUF_POOL_SIZE (__LWIP_MEMMULT > 1 ? 32 : 24)
#define LWIP_ARP 5
#define LWIP_ARP 7
#define LWIP_ETHERNET 1
#define LWIP_ICMP 1
#define LWIP_RAW 1
Expand Down

0 comments on commit 6024e9a

Please sign in to comment.