Stephen, Thanks for pointing that out. I was wondering about that.
I have posted new module code which avoids the private symbols. But this removes the contentsentlength option. I still wonder what the difference between dup'ing and not dup'ing is for (spliceout vs. non-spliceout). In the original code, the not dup'ing was hard coded in as the only option. The current code hard codes this to dup. Anyway, I don't really know if this will work as the original, I was able to fcopy in background a short text file, but larger than 4096 bytes just gets that amount according to wget. In foreground/blocking mode, fcopy returns larger files. I've included my test script as well: http://rmadilo.com/files/nsbgwrite/ So all this does now is to return the sock wrapped in a Tcl_Channel. [ns_conn close] also has the effect of closing the channel. Maybe if it is moved to another thread that will not happen? tom jackson On Tuesday 02 October 2007 14:07, Stephen Deasey wrote: > On 10/2/07, Tom Jackson <[EMAIL PROTECTED]> wrote: > > ... it would be nice if new code followed AOLserver coding norms. Maybe > > you can get naviserver to take out their code. The module I wrote at > > least compiled against their server... > > You're using symbols declared in nsd/nsd.h, which is private to the > server and not installed by default. Things in here change regularly. > > You're asking for trouble... > > > ...but nsd doesn't run on my 64bit laptop: > > > > [02/Oct/2007:10:37:45][6858.690331232][-main-] Fatal: NsTclInitObjs: > > sizeof(int) < sizeof(long) Aborted > > That's *really* old code you're running... > > ...which is our fault for not making a release. Sorry. > > > You'll have more joy running cvs head and reporting bugs on the mailing > list: > > http://naviserver.sourceforge.net/w/Mailing_Lists > > > -- > AOLserver - http://www.aolserver.com/ > > To Remove yourself from this list, simply send an email to > <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.