[Spread-users] Authentication Issues with IP Auth

David Lloyd lloy0076 at adam.com.au
Fri May 11 00:49:44 EDT 2007


Hmmm...

> /* OLD client library without authentication/authorization code */
>         if ( version[0]*10000 + version[1]*100 + version[2] < 31600 )

In fact, I've determined that the "<" is probably the wrong way around 
as the code it guards looks like it actually calls the NEW auth code.

So, I've changed that to:

	if ( version[0]*10000 + version[1]*100 + version[2] > 31600 )

...but now I get:

[Fri 11 May 2007 04:48:17] Sess_read: failed receiving header on session
                               9: ret -1: error: Connection reset by peer

DSL




More information about the Spread-users mailing list