-- AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <list...@listserv.aol.com> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
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?)
It actually kills the AOLserver process instantly, requiring a restart.
Brian
________________________________________
From: AOLserver Discussion [AOLS...@LISTSERV.AOL.COM] On Behalf Of Tom Jackson [t...@RMADILO.COM]
Sent: 22 November 2010 19:02
To: AOLS...@LISTSERV.AOL.COM
Subject: Re: [AOLSERVER] ns_httptime -1 crashes AOLserver on Windows
Ns_ConnSetRequiredHeaders --
384 *
385 * Set a sane set of minimal headers for any response:
386 * MIME-Version, Date, Server, Content-Type, Content-Length
....
410 Ns_ConnCondSetHeaders(conn, "Date", Ns_HttpTime(&ds, NULL));
So if your server is only crashing in ns_httptime, that should narrow
down the source of the bug.
tom jackson