-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for HTTP/1.1 and random non-responsive devices #197
Homekit needs the headers and content sent in a single write call or it will randomly get connection reset by peer which leads to iOS stalling and devices showing up as non-responsive. Without HTTP/1.1 keep-alives, 50+ devices would cause a bridge to timeout or devices to go non-responsive because homekit would have to make a new connection to get / put for each device. With HTTP/1.1 it can avoid all of this overhead After this change, devices in homekit on the bridges with > 80 devices were now immediately responsive in testing.
- Loading branch information
Showing
2 changed files
with
59 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters