Open mike1703 opened 2 months ago
This line functions gives the impression that this sets the Cache-Control header: https://github.com/chengyuhui/tokio-ssdp/blob/ca5585c1065e148cfea2009c376453cb12f134cf/src/server.rs#L64-L68 But in handle_search() and in broadcast_alive() this is not used but hardcoded to 100 https://github.com/chengyuhui/tokio-ssdp/blob/ca5585c1065e148cfea2009c376453cb12f134cf/src/server.rs#L279 https://github.com/chengyuhui/tokio-ssdp/blob/ca5585c1065e148cfea2009c376453cb12f134cf/src/server.rs#L320
handle_search()
broadcast_alive()
Oh, I'll look into this when I get back to SSDP (pretty soon)
This line functions gives the impression that this sets the Cache-Control header: https://github.com/chengyuhui/tokio-ssdp/blob/ca5585c1065e148cfea2009c376453cb12f134cf/src/server.rs#L64-L68 But in
handle_search()
and inbroadcast_alive()
this is not used but hardcoded to 100 https://github.com/chengyuhui/tokio-ssdp/blob/ca5585c1065e148cfea2009c376453cb12f134cf/src/server.rs#L279 https://github.com/chengyuhui/tokio-ssdp/blob/ca5585c1065e148cfea2009c376453cb12f134cf/src/server.rs#L320