Commit Graph

13 Commits

Author SHA1 Message Date
e42f04b51d Merge remote-tracking branch 'origin/main' into feat/openhome 2023-12-03 12:13:54 +01:00
Andrew Dunham
00783e79ec httpu: add context.Context and related interface
This adds a new interface for httpu that supports a Context, and uses
that context to set a deadline/timeout and also cancel the request if
the context is canceled. Additionally, add a new method to the SSDP
package that takes a ClientInterfaceCtx.

Updates #55

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
2023-08-29 19:12:39 +01:00
1a2c6ad5b2 refactor: rename go module 2022-11-01 20:02:13 +01:00
hzy
d8bd5d2d52 More functions support Context 2022-10-02 14:55:49 +01:00
John Beisley
33cdcbb30d Fix #41 - collisions with same USN as multiple locations. 2021-06-26 17:01:14 +01:00
John Beisley
36abb0b21b Discover devices on all the host's capable network interfaces. 2020-05-16 11:59:03 +01:00
John Beisley
167b9766e5 Allow SSDP search results from inexact searches.
Fixes #24.
2018-03-15 19:13:24 +00:00
Aman Gupta
73053506a9 Disable verbose logging of unexpected ssdp responses (#15)
* Disable verbose logging of unexpected ssdp responses

* Update ssdp.go
2017-05-11 19:19:13 +01:00
Julien LEICHER
949b8a7753 Fix for max-age (#13)
* Fix for max-age with space

* Changed ? to * for multiple spaces
2016-10-31 18:15:47 +00:00
John Beisley
074be02a65 Make the SSDP registry minimally useful. 2015-06-07 12:28:34 +01:00
John Beisley
ecfaac0e3a Initial work on maintaining a registry of discovered devices. 2014-06-08 13:45:53 +01:00
John Beisley
cef9a282c1 Don't discard all results if an unexpected reply comes back. 2014-01-06 20:14:53 +00:00
John Beisley
914072fdd8 Separate lower-level API into separate packages. 2013-10-06 13:23:11 +01:00