From: Stephen D. <sd...@us...> - 2005-12-11 04:44:13
|
Update of /cvsroot/naviserver/naviserver In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4761 Modified Files: ChangeLog Log Message: * include/ns.h: * nsd/nsd.h: * nsd/fastpath.c: * nsd/tclrequest.c: * nsd/tclcmds.c: * nsd/server.c: * nsd/proc.c: * tests/ns_register_proc.test: Add new Tcl command ns_register_fastpath which re-register the original fastpath proc for static file serving, for the specified method and URL. This allows e.g. a Tcl proc to be registered as the default handler for the URL / and then override this with the fastpath proc for /images. The fastpath proc invokes no Tcl and therefore does not allocate an interp. Non-Tcl using threads can be segregated using the conn pool mechanism. (RFE: http://sf.net/tracker/index.php?func=detail&aid=1012770&group_id=3152&atid=353152) Index: ChangeLog =================================================================== RCS file: /cvsroot/naviserver/naviserver/ChangeLog,v retrieving revision 1.254 retrieving revision 1.255 diff -C2 -d -r1.254 -r1.255 *** ChangeLog 11 Dec 2005 03:33:30 -0000 1.254 --- ChangeLog 11 Dec 2005 04:44:04 -0000 1.255 *************** *** 9,12 **** --- 9,29 ---- locale is in effect. (Bug# 1340755) + * include/ns.h: + * nsd/nsd.h: + * nsd/fastpath.c: + * nsd/tclrequest.c: + * nsd/tclcmds.c: + * nsd/server.c: + * nsd/proc.c: + * tests/ns_register_proc.test: Add new Tcl command ns_register_fastpath + which re-register the original fastpath proc for static file serving, + for the specified method and URL. This allows e.g. a Tcl proc to + be registered as the default handler for the URL / and then + override this with the fastpath proc for /images. The fastpath + proc invokes no Tcl and therefore does not allocate an interp. + Non-Tcl using threads can be segregated using the conn pool + mechanism. + (RFE: http://sf.net/tracker/index.php?func=detail&aid=1012770&group_id=3152&atid=353152) + 2005-12-05 Stephen Deasey <sd...@gr...> |