Re: [Evolution-hackers] NNTP patch



Not Zed wrote:

Also if i get a timeout or something (for some reason it wants to time out after 10 seconds) things get really messy - lockups and whatnot.

I found one occasion on which a lock on the store would not be released. Dunno whether it's what caused your problem though:

--- /home/meilof/tmp/evolution-patch10//camel/providers/nntp/camel-nntp-store.c 2004-01-05 15:13:51.000000000 +0100 +++ camel/providers/nntp/camel-nntp-store.c 2004-01-05 16:12:26.000000000 +0100
@@ -282,8 +282,10 @@
       if (clean)
               camel_nntp_command (store, &line, "quit");

-       if (!service_class->disconnect (service, clean, ex))
+       if (!service_class->disconnect (service, clean, ex)) {
+               CAMEL_NNTP_STORE_UNLOCK(store, command_lock);
               return FALSE;
+       }

       camel_object_unref((CamelObject *)store->stream);
       store->stream = NULL;

In my case, the code wouldn't timeout (well, not in less than a few minutes, anyway). Do you know how to enable/disable these timeouts?


Meilof
-- meilof wanadoo nl





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]