[GnomeMeeting-devel-list] Re: Proxy Authentication broken.
- From: Jan Schiefer <cheaterjs gmx de>
- To: gnomemeeting-devel-list gnome org
- Subject: [GnomeMeeting-devel-list] Re: Proxy Authentication broken.
- Date: Mon, 02 May 2005 11:02:21 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I hacked the PWLIB PMIMEInfo::ReadFrom(istream &strm) function and I'm
now sure the problem lies there. The Proxy-Authenticate line is just
ignored.
But I'm actually not sure what's exactly the problem.
Look at my hacked function:
void PMIMEInfo::ReadFrom(istream &strm)
{
RemoveAll();
PString line;
PString lastLine;
while (!strm.bad() && !strm.eof()) {
strm >> line;
cout << "MIME LINE: " << line << endl;
if (line.IsEmpty()) {
cout << "Line is empty!" << endl;
break;
}
if (line[0] == ' ') {
cout << "Adding line to old line." << endl;
lastLine += line;
}
else {
cout << "Processing lastLine: " << lastLine << endl;
AddMIME(lastLine);
lastLine = line;
}
}
if (!lastLine.IsEmpty()) {
cout << "Processing lastLine at the end of the fuction: " << lastLine <<
endl;
AddMIME(lastLine);
}
cout << endl;
}
Here's the output from that hacked function:
- ---
MIME LINE: CSeq: 6 SUBSCRIBE
Processing lastLine:
MIME LINE: Via: SIP/2.0/UDP 195.158.174.179:5064
Processing lastLine: CSeq: 6 SUBSCRIBE
MIME LINE: From: <sip:650178 fwd pulver com>
Processing lastLine: Via: SIP/2.0/UDP 195.158.174.179:5064
MIME LINE: Call-ID: 26f90941-56b9-d911-841f-000c7609893d mrsuicide
Processing lastLine: From: <sip:650178 fwd pulver com>
MIME LINE: To:
<sip:650178 fwd pulver com>;tag=cb2000b247d89723001a836145f3b053.7624
Processing lastLine: Call-ID: 26f90941-56b9-d911-841f-000c7609893d mrsuicide
MIME LINE: Proxy-Authenticate: Digest realm="fwd.pulver.com",
nonce="4275f160ab885e15b4c8e00883c9c121b62bd95e"
Processing lastLine: To:
<sip:650178 fwd pulver com>;tag=cb2000b247d89723001a836145f3b053.7624
MIME LINE: Server: Sip EXpress router (0.8.14 (i386/linux))
Processing lastLine: Server: Sip EXpress router (0.8.14 (i386/linux))
MIME LINE: Content-Length: 0
Processing lastLine: Server: Sip EXpress router (0.8.14 (i386/linux))
MIME LINE:
Line is empty!
Processing lastLine at the end of the fuction: Content-Length: 0
- ---
I think there is a logical error somewhere in this function.
Greetings,
Jan Schiefer!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCdeydzC00UKXFdVcRAgt2AJ9lP8gFDNyKQufs5CCO0JFspZFNfgCghBzl
HYD6v7aPSBM9R98wZkp9qow=
=ul1D
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]