[Pidgin] #1522: UPnP timeout period is ridiculously long

Pidgin trac at pidgin.im
Sun Jun 10 13:45:07 EDT 2007


#1522: UPnP timeout period is ridiculously long
------------------------+---------------------------------------------------
  Reporter:  rgovostes  |       Owner:                                  
      Type:  defect     |      Status:  new                             
  Priority:  minor      |   Milestone:                                  
 Component:  libpurple  |     Version:  2.0.1                           
Resolution:             |    Keywords:  upnp timeout file transfer oscar
   Pending:  0          |  
------------------------+---------------------------------------------------
Comment (by rgovostes):

 Here are the UPnP requests sent by libpurple (which doesn't work), and
 Transmission (which does work):

 libpurple:

 {{{
 <?xml version="1.0" encoding="utf-8"?>
 <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
 s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
 <s:Body>
 <u:AddPortMapping xmlns:u="urn:schemas-upnp-
 org:service:WANIPConnection:1">
 <NewRemoteHost></NewRemoteHost>
 <NewExternalPort>5190</NewExternalPort>
 <NewProtocol>TCP</NewProtocol>
 <NewInternalPort>5190</NewInternalPort>
 <NewInternalClient>192.168.1.100</NewInternalClient>
 <NewEnabled>1</NewEnabled>
 <NewPortMappingDescription>PURPLE_UPNP_PORT_FORWARD</NewPortMappingDescription>
 <NewLeaseDuration>0</NewLeaseDuration>
 </u:AddPortMapping>
 </s:Body>
 </s:Envelope>
 }}}

 Transmission:

 {{{
 <?xml version="1.0" encoding="utf-8" ?>
 <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
 s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
 <s:Body>
 <u:GetSpecificPortMappingEntry xmlns:u=urn:schemas-upnp-
 org:service:WANIPConnection:1">
 <NewRemoteHost></NewRemoteHost>
 <NewExternalPort>5888</NewExternalPort>
 <NewProtocol>TCP</NewProtocol>
 </u:GetSpecificPortMappingEntry>
 </s:Body>
 </s:Envelope>
 }}}

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


More information about the Tracker mailing list