[Pidgin] #2974: AIM file transfer is marked "Failed" in AIM6 AOL client

Pidgin trac at pidgin.im
Thu Sep 6 11:25:58 EDT 2007


#2974: AIM file transfer is marked "Failed" in AIM6 AOL client
-------------------------------------------+--------------------------------
 Reporter:  mirya                          |       Type:  defect
   Status:  new                            |   Priority:  minor 
Component:  libpurple                      |    Version:  2.1.1 
 Keywords:  aim file transfer failed aim6  |    Pending:  0     
-------------------------------------------+--------------------------------
 When sending files from AIM6 (6.1) AOL official client (not AIM Express)
 to Pidgin, it accepts them (so file is saved perfectly), but at the AIM6
 side the transfer is marked as "Failed".

 The cause of this problem is how Pidgin puts the filename in the OFT2
 packet it sends back to AIM6 (especially the last "done" packet), i've
 discovered some problems with that:

  1. libpurple source code comments claim the filename (the last bytes of
 the OFT2 packet) must occupy at least 64 bytes, but Pidgin always put at
 least 65, even if the filename is short enough, so an extra byte is being
 put at the end of the packet while actually it's not needed
  2. If we remove that extra byte and the filename length is <= 63, AIM6
 marks such transfer as successful
  3. I found no way to make AIM6 "understand" file transfers for filenames
 of length >= 64
  4. Two AIM6 clients exchange via some extended protocol, where packets
 have "OFT3" header and extra 8 bytes compared to "OFT2" packets, maybe
 that's a solution for 3.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/2974>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list