Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PS3 interoperability problem
18-03-2013, 09:28 PM
Post: #11
RE: PS3 interoperability problem
(04-01-2013 03:47 PM)simonc Wrote:  
(04-01-2013 03:22 PM)simoncn Wrote:  Did the change to avoid sending chunked encoding to HTTP 1.0 control points ever get into ohNet? Looking at the latest code in DviServerUPnP, I don't see it there.

I never got round to these changes I'm afraid. I've added this to the backlog; it won't be forgotten but probably won't appear for a few weeks.

I've produced a patch for this (attached). This change is needed to fix various interoperability failures reported by a number of MinimServer users who have HTTP 1.0 control points. The changes are as follows:

1) In the device stack, check for action requests, SUBSCRIBE requests and resource GET requests from HTTP 1.0 control points, and ensure the responses don't use chunked encoding.

2) In the device stack, check for SUBSCRIBE requests from HTTP 1.0 control points, and ensure that NOTIFY requests sent on that subscription don't use chunked encoding. This requires adding a field to SubscriptionDataUpnp to store the HTTP version.

3) In the control point stack, check for NOTIFY requests sent without chunked encoding and without a Content-Length header (legal according to the DLNA Device Architecture specification), and get the notification payload by reading all available data until the device closes the socket. The current code sends an UNSUBSCRIBE / SUBSCRIBE sequence if this happens, which causes an infinite loop of SUBSCRIBE / NOTIFY / UNSUBSCRIBE requests across the network.

Items 1) and 2) are needed for interoperability with HTTP 1.0 control points. I discovered item 3) while testing the changes for item 2) using ohNet as the control point.

I've done a reasonable amount of testing of all these changes, including some real-world testing with HTTP 1.0 control points to verify successful interoperability.


Attached File(s)
.zip  http10.zip (Size: 1.47 KB / Downloads: 5)
Find all posts by this user


Messages In This Thread
PS3 interoperability problem - simoncn - 29-07-2012, 06:13 PM
RE: PS3 interoperability problem - simonc - 30-07-2012, 08:14 AM
RE: PS3 interoperability problem - simonc - 30-07-2012, 12:18 PM
RE: PS3 interoperability problem - simonc - 30-07-2012, 12:49 PM
RE: PS3 interoperability problem - simoncn - 30-07-2012, 06:08 PM
RE: PS3 interoperability problem - simoncn - 30-07-2012, 08:16 PM
RE: PS3 interoperability problem - simonc - 31-07-2012, 08:22 AM
RE: PS3 interoperability problem - simoncn - 04-01-2013, 03:22 PM
RE: PS3 interoperability problem - simonc - 04-01-2013, 03:47 PM
RE: PS3 interoperability problem - simoncn - 18-03-2013 09:28 PM
RE: PS3 interoperability problem - simonc - 25-03-2013, 09:47 AM
RE: PS3 interoperability problem - simoncn - 25-03-2013, 09:52 AM
RE: PS3 interoperability problem - simonc - 27-03-2013, 04:53 PM
RE: PS3 interoperability problem - simoncn - 28-03-2013, 10:31 AM

Forum Jump: