[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Question about kio redesign
From:       Antonio Larrosa <antlarr () arrakis ! es>
Date:       1999-12-19 13:53:17
[Download RAW message or body]

Waldo Bastian wrote:
> 
> On Fri, 17 Dec 1999, Antonio Larrosa wrote:
> > Hi,
> >
> > I'm thinking that there could be a problem with the new design someone
> > (coolo?) proposed for kio.
> > If I'm not wrong (and to put it simple), there's a daemon and it forks for
> > each kio command, isn't it ?
> > If so, there could be a problem with dial-up connections.
> > It seems that the resolv.conf file is only loaded by libresolv on startup
> > of the application (in this case, when the daemon is run, or perhaps when
> > the first kio_http child is forked, I don't know, but it doesn't matter).
> >
> > The problem is that kppp (and similar apps) change the contents of that file,
> > so it should re-read it after the change, but this cannot happen unless you
> > restart the application.
> >
> > Well, I should say that I don't know much about all this except for
> > what comes in the wwwoffle FAQ (question 3.2), so I may be completely
> > wrong with this.
> 
> This is solvable. We just need to flush (kill) our io-slaves when a
> change in online-state happens. The only thing we need is a portable
> way to get to know about changes in online-state. This is being
> addressed by NetMgr and friends.
> 

Andreas Pour sent me an email proposing that (in fact, with the
idea of saving/restoring the state and jobs of the running io-slaves).
I suppose you're right and the only solution is to kill/restart the
app.

Anyway, I'd like someone to verify that this problem exists, as I
haven't tested it myself.

Btw, I forgot about NetMgr. Is someone really working on it ?

I suppose that NetMgr receives a DCOP call from kppp and then it
emits a signal, isn't it ? This would simplify things a lot.

Greetings,

--
Antonio Larrosa Jimenez
Student of Mathematics
antlarr@arrakis.es        larrosa@kde.org
http://www.arrakis.es/~rlarrosa
KDE - The development framework of the future, today.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic