Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fritzcollectd: Recover from XMLSyntaxError in read callback
In rare cases reading from the FRITZ!Box can trigger XMLSyntaxError exceptions (for example: 'Opening and ending tag mismatch: HR line 1 and BODY, line 1, column 180 (line 1)'. If this happens the connection seems to be unusable and the error would happen also on subsequent calls. Reinitialize the connection if this happens. This has been reported for a FRITZ!Box 6490 (6.52) when the device is remotely reset by Unitymedia. See #12.
- Loading branch information
Showing
2 changed files
with
17 additions
and
2 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