Re: [JDEV] Yahoo-t Transport Problem

2003-12-16 Thread Matthias Wimmer
Hi Paul!

Paul Curtis schrieb am 2003-12-15 17:38:50:
if (i = yi-timeout) {
   if (yd)
  yahoo_close(yd);
   jutil_error(jp-x, TERROR_INTERNAL);
   yahoo_deliver(NULL,jp-x);
   return;
}

What do you think about changing this error to TERROR_EXTTIMEOUT?


Tot kijk
Matthias

-- 
Fon: +49-(0)70 0770 07770   http://matthias.wimmer.name/
HAM: DB1MW  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: [JDEV] Yahoo-t Transport Problem

2003-12-16 Thread Dave Belfer-Shevett
On Mon, 15 Dec 2003, Paul Curtis wrote:
 Starting on line 97 of yahoo-phandler.c (version 2.2.0 of the transport) the new code
 should be:

 if (i = yi-timeout) {
if (yd)
   yahoo_close(yd);
jutil_error(jp-x, TERROR_INTERNAL);
yahoo_deliver(NULL,jp-x);
return;
 }

 Please make the changes to the source code, compile, and restart the transport. I'll 
 be
 updating more soon.

I've applied this patch to my 2.2.0-beta version, and Yahoo connected
right up.  Thanks Paul, this is a big win.

Now if only I could get my msn connection working :)

-dbs

-- 
--..---.
Dave Belfer-Shevett\ KB1FWR \ JID: [EMAIL PROTECTED] \
www.homeport.org'---.
[EMAIL PROTECTED]  / Things you'll hear if you have a Klingon on  \
--   your development team: 6) Our competitors   |
  |  are without honor!   |
   \__/
___
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev


Re: [JDEV] Yahoo-t Transport Problem

2003-12-16 Thread Glen
What's wrong with your msn transport? 

-g


On Tue, 2003-12-16 at 16:22, Dave Belfer-Shevett wrote:
 On Mon, 15 Dec 2003, Paul Curtis wrote:
  Starting on line 97 of yahoo-phandler.c (version 2.2.0 of the transport) the new 
  code
  should be:
 
  if (i = yi-timeout) {
 if (yd)
yahoo_close(yd);
 jutil_error(jp-x, TERROR_INTERNAL);
 yahoo_deliver(NULL,jp-x);
 return;
  }
 
  Please make the changes to the source code, compile, and restart the transport. 
  I'll be
  updating more soon.
 
 I've applied this patch to my 2.2.0-beta version, and Yahoo connected
 right up.  Thanks Paul, this is a big win.
 
 Now if only I could get my msn connection working :)
 
   -dbs

___
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev


[JDEV] Yahoo-t Transport Problem

2003-12-15 Thread Paul Curtis
Some users and admins have benn experiencing connection problems with the Yahoo transport. 
I have traced the problem to Yahoo, and it seems that upon initial connection, Yahoo is 
not responding. The problem is random, and I haven't been able to predict when it will 
occur. This causes problems for user's sessions, as they are left running and connected. 
Below is a small patch for the yahoo-phandler.c to help with this problem.

I am currently working on an update to the transport, but in the mean time, the below code 
will reset the user's session when the problem occurs. The symptoms are obvious: the 
transport sends an error packet to the client approximately 30 seconds after the initial 
attempt to connect to Yahoo. The below code will not change the behavior of the transport 
EXCEPT when Yahoo does not respond within the 30 second timeout.

Starting on line 97 of yahoo-phandler.c (version 2.2.0 of the transport) the new code 
should be:

   if (i = yi-timeout) {
  if (yd)
 yahoo_close(yd);
  jutil_error(jp-x, TERROR_INTERNAL);
  yahoo_deliver(NULL,jp-x);
  return;
   }
Please make the changes to the source code, compile, and restart the transport. I'll be 
updating more soon.

Regards,
Paul
___
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev


Re: [JDEV] Yahoo-t Transport Problem

2003-12-15 Thread Wes Morgan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Things seem to be working better already with this patch on my server. Thank 
you for your hard work, Paul. The Yahoo! transport is a very nice piece of 
work. :)

Wes Morgan

On Monday 15 December 2003 03:38 pm, Paul Curtis wrote:
 Some users and admins have benn experiencing connection problems with the
 Yahoo transport. I have traced the problem to Yahoo, and it seems that upon
 initial connection, Yahoo is not responding. The problem is random, and I
 haven't been able to predict when it will occur. This causes problems for
 user's sessions, as they are left running and connected. Below is a small
 patch for the yahoo-phandler.c to help with this problem.

 I am currently working on an update to the transport, but in the mean time,
 the below code will reset the user's session when the problem occurs. The
 symptoms are obvious: the transport sends an error packet to the client
 approximately 30 seconds after the initial attempt to connect to Yahoo. The
 below code will not change the behavior of the transport EXCEPT when Yahoo
 does not respond within the 30 second timeout.

 Starting on line 97 of yahoo-phandler.c (version 2.2.0 of the transport)
 the new code should be:

 if (i = yi-timeout) {
if (yd)
   yahoo_close(yd);
jutil_error(jp-x, TERROR_INTERNAL);
yahoo_deliver(NULL,jp-x);
return;
 }

 Please make the changes to the source code, compile, and restart the
 transport. I'll be updating more soon.

 Regards,
 Paul

 ___
 jdev mailing list
 [EMAIL PROTECTED]
 http://mailman.jabber.org/listinfo/jdev

- -- 
This American dream may be poisonous
Violence is contagious
Crowded or empty
I walk these city streets alone
Whoever brought me here
Is gonna have to take me home

What I'll Remember Most - Over the Rhine
- --
Libretech.org - Technology Is Free (http://www.libretech.org)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/3n5KI89ooLagmnQRAjHEAKCdfhpiMgeuYUurOr7Fw37LE1iJqwCggyDH
wXqwrFGLMwxgcFeN6lVzNdM=
=XF3R
-END PGP SIGNATURE-

___
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev