[Pidgin] #2181: 200 OK Response to NOTIFY with empty body

Pidgin trac at pidgin.im
Thu Aug 16 09:28:49 EDT 2007


#2181: 200 OK Response to NOTIFY with empty body
------------------------+---------------------------------------------------
  Reporter:  hawkinsw   |       Owner:  datallah   
      Type:  patch      |      Status:  new        
  Priority:  minor      |   Milestone:             
 Component:  libpurple  |     Version:  2.0.2      
Resolution:             |    Keywords:  SIP, SIMPLE
   Pending:  1          |  
------------------------+---------------------------------------------------
Changes (by hawkinsw):

  * pending:  1 => 0

Comment:

 Perhaps. The only problem is that simple.c does not take that Content-
 Length field into consideration when making the decision to reply with 200
 OK. It will negatively ack a NOTIFY if it cannot instantiate an xml
 parsing object from the text of the reply (using xmlnode_from_str(); see
 simple.c ~ line 1063). So, even if the Content-Length is set correctly, an
 empty NOTIFY body will still cause problems.

 Again, thanks for working to get this little bug resolved.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/2181#comment:11>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list