equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
1445 { |
1445 { |
1446 //Negotiation OK |
1446 //Negotiation OK |
1447 CleanupStack::Pop(); //negotiation safe |
1447 CleanupStack::Pop(); //negotiation safe |
1448 return; |
1448 return; |
1449 } |
1449 } |
1450 CleanupStack::PopAndDestroy(); |
1450 CleanupStack::Pop(); |
|
1451 DeleteNegotiation(negotiation); |
1451 } |
1452 } |
1452 return; |
1453 return; |
1453 } |
1454 } |
1454 else |
1455 else |
1455 { |
1456 { |
1898 // Cancels data transfer. |
1899 // Cancels data transfer. |
1899 // --------------------------------------------------------------------------- |
1900 // --------------------------------------------------------------------------- |
1900 // |
1901 // |
1901 void CIkev1PluginSession::DoCancelDataTransfer() |
1902 void CIkev1PluginSession::DoCancelDataTransfer() |
1902 { |
1903 { |
1903 iReceiver->Cancel(); |
1904 iReceiver->CancelReceive(); |
1904 iDataInterface.StopReceive(); |
1905 iDataInterface.StopReceive(); |
1905 DoEmptySendQueue(); |
1906 DoEmptySendQueue(); |
1906 iSender->Cancel(); |
1907 iSender->Cancel(); |
1907 } |
1908 } |
1908 |
1909 |