gba/gbafilter/src/HTTPFilterGBA.cpp
branchRCL_3
changeset 7 6e226572c5f0
parent 5 3b17fc5c9564
child 8 ece4bbb094df
--- a/gba/gbafilter/src/HTTPFilterGBA.cpp	Fri Feb 19 23:42:03 2010 +0200
+++ b/gba/gbafilter/src/HTTPFilterGBA.cpp	Fri Mar 12 15:46:51 2010 +0200
@@ -593,9 +593,6 @@
 	                //Default accesspoint will be used - iAPID = -1
 	                iGbaInputParams.iAPID = -1;
                     
-	                //Cancel the transaction
-	                aTrans.Cancel();
-                    
 	                // fetch credentials from bootstrapper
 	                iGbaUtility->Bootstrap(iGbaInputParams, iGbaOutputParams);
 	                iBootstrapCount++;
@@ -624,6 +621,8 @@
                         propSet.SetPropertyL( iPasswordStr, password );
                         CleanupStack::PopAndDestroy(&password);
                         CleanupStack::PopAndDestroy(&username);
+                        //Cancel the http transaction
+                        aTrans.Cancel();
                         // Re-submit the http request with much needed credentials
                         aTrans.SubmitL(); 
                         }