mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2024-12-25 22:55:55 -05:00
560fe804d6
To improve reliability of live streams (#59) on Safari. Safari was dropping the cookie from websocket update requests. (But it worked sometimes. I don't get why.) I saw folks on the Internet thinking this related to HttpOnly: * https://developer.apple.com/forums/thread/104488 * https://stackoverflow.com/q/47742807/23584 but I still see this behavior without HttpOnly. SameSite=Strict vs SameSite=Lax appears to make a difference. Try that instead. SameSite=Strict is pointless for us anyway as noted in a new comment. Turning off HttpOnly would be more unfortunate security-wise. |
||
---|---|---|
.. | ||
proto | ||
testdata | ||
upgrade | ||
auth.rs | ||
build.rs | ||
Cargo.toml | ||
check.rs | ||
coding.rs | ||
compare.rs | ||
days.rs | ||
db.rs | ||
dir.rs | ||
fs.rs | ||
lib.rs | ||
raw.rs | ||
recording.rs | ||
schema.sql | ||
signal.rs | ||
testutil.rs | ||
writer.rs |