ARLM-Keller / msnp-sharp

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

Add HTTP proxy support #302

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Patch adds HTTP proxy (ala SOCKS4/5) support. No authentication is supported 
yet.

Original issue reported on code.google.com by liuchang...@gmail.com on 12 Nov 2011 at 1:56

GoogleCodeExporter commented 8 years ago

Original comment by hepha...@gmail.com on 12 Nov 2011 at 6:20

GoogleCodeExporter commented 8 years ago

Original comment by hepha...@gmail.com on 14 Nov 2011 at 7:56

GoogleCodeExporter commented 8 years ago
Hello,
I tried below, but it did not work.
Is there anything wrong?

messenger.ConnectivitySettings.ProxyHost = "xxx.xxx.xxx";
messenger.ConnectivitySettings.ProxyPort = 80;
messenger.ConnectivitySettings.ProxyType = ProxyType.Http;

thanks.

Original comment by xeriax.none@gmail.com on 6 Dec 2011 at 2:55

GoogleCodeExporter commented 8 years ago
One more question,
Does it support Microsoft ISA server?

thanks.

Original comment by xeriax.none@gmail.com on 6 Dec 2011 at 2:57

GoogleCodeExporter commented 8 years ago
The HTTP server must support HTTP CONNECT tunneling 
(http://en.wikipedia.org/wiki/HTTP_tunnel#HTTP_CONNECT_Tunneling) to port 1863. 
Not sure about ISAServer specifically, but many HTTP proxy servers do block 
this.

Original comment by liuchang...@gmail.com on 6 Dec 2011 at 3:00

GoogleCodeExporter commented 8 years ago
Is there any way to know if the proxy supports HTTP CONNECT tunneling or not?
thank you very much,

Original comment by xeriax.none@gmail.com on 7 Dec 2011 at 12:26

GoogleCodeExporter commented 8 years ago
Can you copy the MSNPSharp debug output when you use its HTTP proxy?

Original comment by liuchang...@gmail.com on 7 Dec 2011 at 4:13

GoogleCodeExporter commented 8 years ago
Here is trace log.
ISA and nonISA server.

I am not sure if the proxy (proxy.hinet.net) supports "HTTP CONNECT tunneling" 
or not.
But I can connect to MSN server via Windows Live Messenger.

Original comment by xeriax.none@gmail.com on 7 Dec 2011 at 10:39

GoogleCodeExporter commented 8 years ago
What are the messages after System.Net.Sockets.SocketException? They aren't 
valid ASCII code.

Windows Live Messenger has an entirely different method of connection known as 
'http polling', which is now being implemented in MSNPSharp. That method uses 
normal HTTP requests and is the fail-safe way of connecting to the servers. 
Unfortunately the same cannot be said of the HTTP proxy implemented here.

Original comment by liuchang...@gmail.com on 7 Dec 2011 at 10:53

GoogleCodeExporter commented 8 years ago
hi,
It was Chinese word,
The meaning of English would be "Overlapped I/O Operation Is in Progress"

So,it looks like both proxies are not supporting "HTTP CONNECT tunneling", 
right?

thank you very much, ^_^

Original comment by xeriax.none@gmail.com on 7 Dec 2011 at 11:18