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

List:       freedesktop-dbus
Subject:    Re: [PATCH] dbus-glib patches
From:       David Zeuthen <david () fubar ! dk>
Date:       2008-03-17 20:14:46
Message-ID: 1205784886.17541.45.camel () zelda ! fubar ! dk
[Download RAW message or body]

On Mon, 2008-03-17 at 15:39 -0400, David Zeuthen wrote:
> > Agreed, I don't understand why the timeout is there.
> 
> Havoc? Can we change this?

I talked to Havoc on IRC and he found some useful links to earlier
discussions

http://lists.freedesktop.org/archives/dbus/2006-February/004358.html
http://lists.freedesktop.org/pipermail/dbus/2006-November/006249.html
http://lists.freedesktop.org/pipermail/dbus/2006-November/006254.html

So the conclusion is that this is something we need to fix and we won't
break ABI doing so. The proposed solution

 - make INT_MAX special to avoid 49.52 days of timeout
 - remove bus timeout completely unless set in the config file

and for bonus

 - audit the code to ensure we use a monotonically increasing clock

I'll try to write a patch for the first two items this week.

(Also, my cursory testing over the weekend shows that the five minute
bus timeout isn't enforced. That's probably another bug.)

     David

_______________________________________________
dbus mailing list
dbus@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dbus

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

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