Nice workaround Tom. It actually kills the AOLserver process instantly, requiring a restart.
Brian ________________________________________ From: AOLserver Discussion [aolser...@listserv.aol.com] On Behalf Of Tom Jackson [...@rmadilo.com] Sent: 22 November 2010 19:02 To: AOLSERVER@LISTSERV.AOL.COM Subject: Re: [AOLSERVER] ns_httptime -1 crashes AOLserver on Windows Quick workaround for your problem: proc ::ns_time { } { return [clock seconds] } proc ::ns_httptime { seconds } { return [clock format $seconds -format "%a, %d %b %Y %H:%M:%S %Z" -gmt 1] } Just redefine ns_httptime. tom jackson (However, does the C code crash, or just the tcl API?) On Mon, Nov 22, 2010 at 9:17 AM, Fenton, Brian <brian.fen...@quest.ie> wrote: > Hi > > My Windows version of AOLserver crashes hard if I call ns_httptime with a > value of -1. The version is > AOLserver/4.5.0 (aolserver4_5) > CVS Tag: $Name: aolserver_v45_r0 $ > Built: May 2 2008 at 14:54:44 > Tcl version: 8.5 > Platform: win32 > > Can anyone else confirm this problem? I realise there is a more recent > Windows version of AOLserver - does anyone know if it is resolved there? > > I'm getting it on Windows Server 2003 [Version 5.2.3790] > > It seems to work fine on a unix version of AOLserver 4.5 that I tested. > > thanks > Brian > > -- > AOLserver - http://www.aolserver.com/ > > To Remove yourself from this list, simply send an email to > <lists...@listserv.aol.com> with the > body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: > field of your email blank. > -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <lists...@listserv.aol.com> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank. -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <lists...@listserv.aol.com> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.