Commits

rhynes  committed 5da996e

Fix order of configureBlocking call

  • Participants
  • Parent commits d7045cd
  • Branches check-tunnel

Comments (0)

Files changed (1)

File Android/PsiphonAndroidLibrary/src/com/psiphon3/psiphonlibrary/ServerSelector.java

                 }
                 
                 this.responded = this.channel.finishConnect();
-                this.channel.configureBlocking(true);
             }
             catch (IOException e) {}
             finally
                         catch (IOException e) {}
                         this.channel = null;
                     }
+                    else
+                    {
+                        try
+                        {
+                            this.channel.configureBlocking(true);
+                        }
+                        catch (IOException e) {}
+                    }
                 }
             }