Re: [Live-devel] Callback not being called in case of unknown response

2010-10-06 Thread Ross Finlayson
But I have another solution. line 1482, replace : if (foundRequest == NULL && responseIsHTTP) { // Hack: HTTP responses don't have a "CSeq:" header, so if we got a HTTP response, assume it's for our most recent request: by if (foundRequest == NULL) { // Hack: The response don't have a "CSeq:

Re: [Live-devel] Callback not being called in case of unknown response

2010-10-06 Thread Sébastien Escudier
On Wed, 2010-10-06 at 02:38 -0700, Ross Finlayson wrote: > >foundRequest is NULL because the response does not include a CSeq value. > > Can you fix the server? :-) I'll try :) > So, if you change line 1448 from >} else if (request->cseq() == cseq) { > to >} else if (requ

Re: [Live-devel] Callback not being called in case of unknown response

2010-10-06 Thread Ross Finlayson
foundRequest is NULL because the response does not include a CSeq value. Can you fix the server? :-) Would there be a way to tell the application we received something invalid in this case ? Mumble... Probably. In principle, each request is supposed to have a corresponding response, and