From kde-core-devel Sun Dec 19 13:53:17 1999 From: Antonio Larrosa Date: Sun, 19 Dec 1999 13:53:17 +0000 To: kde-core-devel Subject: Re: Question about kio redesign X-MARC-Message: https://marc.info/?l=kde-core-devel&m=94571097928059 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.