FINALLY, the bug with the HTTP gateway is fixed! Read the cause and solution at 
http://www.amsn-project.net/forums/viewtopic.php?p=23472
Look at the diff below, it was SO simple to fix in the end!!! 
Now what's the next step? release 0.97 now ? what do you guys think ?

wouhouuuuuu!!! :D

KaKaRoTo

----- Forwarded message from [EMAIL PROTECTED] -----

From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [Amsn-commits] SF.net SVN: amsn: [9005] trunk/amsn

Revision: 9005
          http://amsn.svn.sourceforge.net/amsn/?rev=9005&view=rev
Author:   kakaroto
Date:     2007-09-13 00:17:48 -0700 (Thu, 13 Sep 2007)

Log Message:
-----------
HTTP Proxy bug finally fixed. Was VERY easy, all we needed was the correct 
information. The solution I found was completely wrong and so undoable.. 
A huge thanks goes to pidgin guys who pinpointed the correct solution and to 
hilbert70 from the forums for relaying to us what they found. For more info 
read here : http://www.amsn-project.net/forums/viewtopic.php?p=23470#23470

Modified Paths:
--------------
    trunk/amsn/protocol.tcl
    trunk/amsn/proxy.tcl

Modified: trunk/amsn/protocol.tcl
===================================================================
--- trunk/amsn/protocol.tcl     2007-09-11 10:04:06 UTC (rev 9004)
+++ trunk/amsn/protocol.tcl     2007-09-13 07:17:48 UTC (rev 9005)
@@ -3421,6 +3421,7 @@
        option -proxy ""
        option -time ""
        option -error_msg ""
+       option -force_gateway_server ""
        option -proxy_host
        option -proxy_port
        option -proxy_authenticate
@@ -4425,6 +4426,7 @@
 
        status_log "cmsn_open_sb: Opening SB $sb\n" green
 
+       $sb configure -force_gateway_server [lindex [split [lindex $recv 3] 
":"]]
        $sb configure -server [split [lindex $recv 3] ":"]
        $sb configure -connected [list cmsn_conn_sb $sb]
        $sb configure -auth_cmd "USR"

Modified: trunk/amsn/proxy.tcl
===================================================================
--- trunk/amsn/proxy.tcl        2007-09-11 10:04:06 UTC (rev 9004)
+++ trunk/amsn/proxy.tcl        2007-09-13 07:17:48 UTC (rev 9005)
@@ -754,7 +754,11 @@
 
                #On direct http connection, use gateway directly as proxy
                if { [$sb cget -proxy_host] == ""} {
-                       set proxy_host "gateway.messenger.hotmail.com"
+                       set proxy_host [$sb cget -force_gateway_server]
+                       if {$proxy_host == "" } {
+                               set proxy_host "gateway.messenger.hotmail.com"
+                       }
+                       
                        set proxy_port 80
                } else {
                        set proxy_host [$sb cget -proxy_host]


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Amsn-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/amsn-commits

----- End forwarded message -----

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel

Reply via email to