Closed joprice closed 5 years ago
I modified the code to include the parse error in the response and see this:
DEBUG:ssdp::message::ssdp : Received Invalid HTTP: end of stream before headers finished HTTP/1.1 200 OK
Merged PR, assuming that fixed this. Thanks!
I tried using this to discover sonos devices, and received no responses. When i enabled debug logging, I saw this:
I'm guessing that it's tripping up on the empty EXT header? If that is the case, is there any workaround either by recovering from an error like this and patching it, or having the parser drop invalid headers? I noticed that the http parser is not directly part of this lib, so I would understand if there's no local solution.