webengine/osswebengine/WebKit/s60/misc/WebUtil.cpp
branchRCL_3
changeset 41 4bd5176e1bc8
parent 38 4917f9bf7995
child 48 79859ed3eea9
equal deleted inserted replaced
40:8bfb9186a8b8 41:4bd5176e1bc8
   626     // All SSL errors are mapped into this one, which gets displayed to the user
   626     // All SSL errors are mapped into this one, which gets displayed to the user
   627     if (err <= SSL_ERROR_BASE && err > SSL_ERROR_BASE - 200 ||
   627     if (err <= SSL_ERROR_BASE && err > SSL_ERROR_BASE - 200 ||
   628         err == KErrHttpCannotEstablishTunnel) {
   628         err == KErrHttpCannotEstablishTunnel) {
   629         return KErrSSLAlertHandshakeFailure;
   629         return KErrSSLAlertHandshakeFailure;
   630     }
   630     }
   631 
   631     //Deal With Socket error
       
   632    if( err <= KErrNetUnreach && err >= KErrUrgentData )
       
   633         return err;
   632     // Deal with DNS lookup errors
   634     // Deal with DNS lookup errors
   633     if ((err <= KErrInet6NoDestination) && (err > (KErrInet6NoDestination - 200))) {
   635     if ((err <= KErrInet6NoDestination) && (err > (KErrInet6NoDestination - 200))) {
   634         return KBrowserHTTP502;
   636         return KBrowserHTTP502;
   635     }
   637     }
   636 
   638