On Mon, Apr 11, 2005 at 04:14:05PM -0400, Tom Georgoulias wrote:
Tom Georgoulias wrote:
I reverted back to 4.0 plus some patches and acknowledgements are >working again. I'm going to have to stay there until I get a handle on >why 4.0.2 didn't work.
Can someone confirm that acknowledgements are working for them in 4.0.2? It'd make me feel better if I knew it was something definitely on my end, or a problem that other shares. Misery loves company. :)
Ack's are not working in 4.0.2. Sometimes it's amazing how much can go
wrong in a one-line fix ... when I did the "make cookies valid for 24
hours" for 4.0.2, I forgot to include the current time in that, so
cookies are actually set to expire on Jan 2nd 1970 - a loong time
ago... (about when I started in kindergarten, actually).
Patch attached. Sorry.
Regards,
Henrik
-------------- next part --------------
--- hobbitd/hobbitd.c 2005/04/10 16:37:00 1.138
+++ hobbitd/hobbitd.c 2005/04/11 20:19:26
@@ -923,7 +923,7 @@
* That's for 4.1 - for now, we'll just give it a long enough * lifetime so that cookies will be valid.
*/
- log->cookieexpires = 86400; /* Valid for 1 day */
+ log->cookieexpires = now + 86400; /* Valid for 1 day */
}
}
else {