BOINC Manager: connecting to other hosts is troublesome

Rom Walton romw at romwnet.org
Tue Apr 25 01:03:31 UTC 2006


I've checked in a change which should resolve this issue.

The frame shouldn't know anything about the current state of the network
connection, when the force reconnect flag is set to true, it should do
whatever it takes to successfully establish a connection. 

----- Rom

> -----Original Message-----
> From: Frank S. Thomas [mailto:frank at thomas-alfeld.de]
> Sent: Saturday, April 22, 2006 4:44 AM
> To: Rom Walton
> Cc: pkg-boinc-devel at lists.alioth.debian.org
> Subject: Re: BOINC Manager: connecting to other hosts is troublesome
> 
> Hi Rom,
> 
> On Thursday 06 April 2006 21:02, Rom Walton wrote:
> > I've checked in a fix for this based off of your patch.
> 
> It seems that the patch you checked in didn't fix this bug (or has
> something
> changed in BM's network code since then?). Details about what happens now
> can
> be found here:
>   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=360143;msg=33
> The full bug report is here:
>   http://bugs.debian.org/360143
> 
> - Frank
> 
> > > From: Frank S. Thomas [mailto:frank at thomas-alfeld.de]
> > >
> > > --- boinc-5.3.31.orig/clientgui/MainFrame.cpp
> > > +++ boinc-5.3.31/clientgui/MainFrame.cpp
> > > @@ -1034,6 +1034,8 @@
> > >
> > >      lAnswer = pDlg->ShowModal();
> > >      if (wxID_OK == lAnswer) {
> > > +
> > > +        pDoc->m_pNetworkConnection->SetStateDisconnected();
> > >
> > >          // Make a null hostname be the same thing as localhost
> > >          if (wxEmptyString == pDlg->m_ComputerNameCtrl->GetValue()) {
> > > --- boinc-5.3.31.orig/clientgui/MainDocument.cpp
> > > +++ boinc-5.3.31/clientgui/MainDocument.cpp
> > > @@ -252,6 +252,7 @@
> > >      if (pFrame && !m_bFrameShutdownDetected) {
> > >          wxASSERT(wxDynamicCast(pFrame, CMainFrame));
> > >          m_bConnected = false;
> > > +        m_bReconnecting = false;
> > >      }
> > >  }
> 
> --
> Anmut bringen wir ins Leben;
>  Leget Anmut in das Geben.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2355 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-boinc-devel/attachments/20060424/ca9bc389/smime.bin


More information about the pkg-boinc-devel mailing list