Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Subscription renewal causes 404 Error
09-01-2012, 08:00 PM
Post: #1
Subscription renewal causes 404 Error
The renewal form of the SUBSCRIBE message (with SID instead of CALLBACK) produces a 200 OK response followed immediately by a 404 Not Found response.

I have fixed this by adding two lines of code to the DviServerUpnp::Renew method.

Before line 782:
iResponseStarted = true;

After line 793:
iResponseEnded = true;

Simon
Find all posts by this user
10-01-2012, 11:41 AM
Post: #2
RE: Subscription renewal causes 404 Error
(09-01-2012 08:00 PM)simoncn Wrote:  The renewal form of the SUBSCRIBE message (with SID instead of CALLBACK) produces a 200 OK response followed immediately by a 404 Not Found response.

I have fixed this by adding two lines of code to the DviServerUpnp::Renew method.

Before line 782:
iResponseStarted = true;

After line 793:
iResponseEnded = true;

Simon

Thanks. The suggested fix looks spot on so I've gone with that. Its committed locally so will hopefully be available to you this evening.
Find all posts by this user


Forum Jump: