diff -r d5423fbb4f29 -r 3b17fc5c9564 gba/gbaserver/src/dataretriever.cpp --- a/gba/gbaserver/src/dataretriever.cpp Tue Feb 02 00:44:34 2010 +0200 +++ b/gba/gbaserver/src/dataretriever.cpp Fri Feb 19 23:42:03 2010 +0200 @@ -829,7 +829,14 @@ { THTTPHdrVal requestUri; RHTTPTransactionPropertySet propSet = aTransaction.PropertySet(); - propSet.Property( stringPool.StringF(HTTP::EUri,RHTTPSession::GetTable()), requestUri ); + TBool exist = propSet.Property( stringPool.StringF(HTTP::EUri,RHTTPSession::GetTable()), requestUri ); + + if(!exist) + { + CleanupStack::PopAndDestroy( pushCount ); + return KErrNotFound; + } + //save rsp auth calcuation //Save the string handle for rsp auth checking //Close the previous handle, then set new one @@ -906,7 +913,14 @@ { THTTPHdrVal fieldVal;// The name of the current field. THTTPHdrVal hdrVal;//A scratch hdrVal - headers.GetField(wwwAuthenticate, i, fieldVal); + + TInt error = headers.GetField(wwwAuthenticate, i, fieldVal); + + if(error != KErrNone) + { + return KErrNotFound; + } + switch ( fieldVal.StrF().Index(RHTTPSession::GetTable() ) ) { case HTTP::EDigest: