Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Commit 7f728dc

Browse files
authored
Disable unsupported Inet configuration breaking iOS integration.
For a yet-unknown reason, trying to read the TCP Tx buffer with ioctl on iOS fails with ENXIO. Since this code was written primarily for embedded Linux platforms, and is not needed for mobile clients, this CL turns off that bit of code for iOS builds.
1 parent 5fe9f08 commit 7f728dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build/config/ios/WeaveProjectConfig.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,6 @@
2424
#ifndef WEAVEPROJECTCONFIG_H
2525
#define WEAVEPROJECTCONFIG_H
2626

27+
#define INET_CONFIG_OVERRIDE_SYSTEM_TCP_USER_TIMEOUT 0
28+
2729
#endif /* WEAVEPROJECTCONFIG_H */

0 commit comments

Comments
 (0)