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

List:       kde-core-devel
Subject:    Re: Question about kio redesign
From:       Stephan Kulow <coolo () kde ! org>
Date:       1999-12-21 12:28:07
[Download RAW message or body]

Antonio Larrosa wrote:
> 
> 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.
> 
But would be plain wrong. As I said: 
1. I never restarted netscape when going online. So I doubt this
   problem exists.
2. thinking that kppp is the only app that people use to change their
   online status is wrong too.

Greetings, Stephan

-- 
As long as Linux remains a religion of freeware fanatics,
Microsoft have nothing to worry about.  
                       By Michael Surkan, PC Week Online

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

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