equal
deleted
inserted
replaced
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 |