TReKiE / msnp-sharp

Automatically exported from code.google.com/p/msnp-sharp
0 stars 0 forks source link

File transfer problem #161

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Run example client code
2.Send a file from another account

What is the expected output? What do you see instead?

 File does not start transfer.

What version of the product are you using? (MSNPSharp, OS, Mono etc.)

 msnp-sharp 3.0 svn 

Please provide any additional information below:

 It seems client response wrong format message. When response a file
 transfer. The message need begin with MSNSLP/1.0 200 OK. But the 
 code in current trunk transfer additional header like:

 MIME-Version: 1.0
 P2P-Dest: noirguan@msn.com;{2cbfc211-8faf-4d3d-a5fa-17b22bcb346b}
 P2P-Src: lionicbot@hotmail.com;{58259e26-7b36-486e-8b4d-54c0c453fd41}
 Content-Type: application/x-msnmsgrp2p
 ...T@D.c........MSNSLP/1.0 200 OK  

 That will make another endpoint try to send invitation again and again.

Original issue reported on code.google.com by dcg...@gmail.com on 3 Nov 2009 at 10:14

GoogleCodeExporter commented 9 years ago
P2PV2 adds extra header for the data package and this is normal.

It seems 16 bytes... 8 byte is:
1: header length
1: operation code
2: messagesize
4: identifier

The remain 8 byte is tlvs. Could you paste byte values like 0x00?

Original comment by hepha...@gmail.com on 3 Nov 2009 at 11:54

GoogleCodeExporter commented 9 years ago
Hi, I will check it out and see if I can upload a pcap file.

Original comment by dcg...@gmail.com on 3 Nov 2009 at 12:31

GoogleCodeExporter commented 9 years ago
Could you try r1393? It is working now for me.

Original comment by hepha...@gmail.com on 3 Nov 2009 at 12:33

GoogleCodeExporter commented 9 years ago
I comfirm r1393 works for the client accept incoming files.

BTW, sending file from client does not work is a known issue, right?

Original comment by dcg...@gmail.com on 3 Nov 2009 at 2:32

GoogleCodeExporter commented 9 years ago
Now, Sending and receiving file from msnpsharp client working for me... Could 
you
confirm to close this issue?

The response is correct: ...T@D.c........MSNSLP/1.0 200 OK 

Original comment by hepha...@gmail.com on 3 Nov 2009 at 3:09

GoogleCodeExporter commented 9 years ago

Original comment by hepha...@gmail.com on 3 Nov 2009 at 3:09

GoogleCodeExporter commented 9 years ago

Original comment by hepha...@gmail.com on 3 Nov 2009 at 4:35