Re: [reSIProcate] minor bug in ClientSubscription::end()
Sorry, I didnot check the latest revision, it is there
already.
kaiduan
--- kaiduan xie <kaiduanx@xxxxxxxx> wrote:
> Hi, all,
>
> Found a minor bug in ClientSubscription::end()
>
> void
> ClientSubscription::end()
> {
> InfoLog (<< "End subscription: " <<
> mLastRequest.header(h_RequestLine).uri());
>
> //mDialog.makeRequest(mLastRequest, SUBSCRIBE);
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> mDialog.makeRequest(mLastRequest, SUBSCRIBE);
> //xkd-2004-11-4
> mLastRequest.header(h_Expires).value() = 0;
> send(mLastRequest);
> }
>
> the use case is
> 1: SUBSCRIBE success
> 2: Client actively terminate the subscription
> before
> ANY subscription refresh.
>
> In this case, there is no tag in SUBSCRIBE's TO
> header. At server side, this SUBSCRIBE is treated as
> a
> NEW subscription with expires value of zero, and
> send
> back a NOTIFY. The proxy doesnot reply the NOTIFY. I
> caught this while testing with Free World Dialup.
>
> Thanks,
>
> kaiduan
>
>
>
______________________________________________________________________
>
> Post your free ad now! http://personals.yahoo.ca
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
>
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
>
______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca