Hi there.

I've been working on AOLserver for about a month and I got to like it.

I wrote a small hack to allow name-based vhosting and now I'm writing a
module to do html=(xml+adp)+(xslt+adp).

Here are my questions:

1. Can I use Ns_TclGetConn(NULL) in a function which is set to handle
url2file? - I did Ns_SetUrlToFileProc(hServer,myProc) and myProc gets
Ns_Conn from Ns_TclGetConn(). Is that possible to do? I know that it works
on 3.4 for me... And no mistakes on heavy loads... (I combined it with
ns_mutex + nsv_* to check if it it's thread-safe :).

2. I'm using libxml2+libxslt and there's a function
xmlSetGenericErrorFunc(). I want my XML/XSLT parsing errors to be printed
out on output.

I suppose I could create a hashtable+Ns_Mutex, create a structure, connect
it (by the hashtable) with Ns_Conn. But it seems a bit inefficient to
me...

Any other way to store data connected with Ns_Conn.

I probably want to store a DString and an int to check the number of
errors (mostly if any occured :) and print out the errors using
Ns_QuoteHtml()...

Any ideas on how to write that?

3. Does anyone here (mostly from Poland I guess :-) knows why/how
www.onet.pl is using AOLserver? - AFAIR they're not using Tcl at all...

--
Wojtek Kocjan
[EMAIL PROTECTED]

Reply via email to