Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
config: make http auth more configurable (plain, digest, both)
- Loading branch information
Showing
4 changed files
with
29 additions
and
8 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
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
d5eaa4cThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @perexg
thanks for your amazing work on this project.
Maybe for compatibility reasons, you should make the option "Both plain and digest" as default.
best regards
d5eaa4cThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right, both options should be enabled by default for compatibility reasons!!
d5eaa4cThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder how could I connect tvheadend channels between another tvheadend using digest, would it be possible?
d5eaa4cThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we all got the digest as "default" because before this commit 0 meant PLAIN and 1 meant plain+digest.
But now, 1 means "only digest".
This also means that this value means 2 different things before this commit and after this commit, which makes detection of this feature impossible because there's no way to detect this specific commit in the middle of the 4.3 version.
Can we simply swap the #define to
?
This should make everyone that had that option previously enabled (the value 1) as "plain+digest" (which was what the previous value meant).
edit: found a way to detect this specific commit. the "type" of the variable changed from "bool" to "int" and the meta properties specify this
edit2: by the way, the default is actually 0, according to the metadata, which means PLAIN only.