<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to feature-requests</title><link>https://sourceforge.net/p/aolserver/feature-requests/</link><description>Recent changes to feature-requests</description><atom:link href="https://sourceforge.net/p/aolserver/feature-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 07 Oct 2005 00:44:05 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/aolserver/feature-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>ns_internalredirect: expose Ns_ConnRedirect via Tcl command</title><link>https://sourceforge.net/p/aolserver/feature-requests/83/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;To facilitate URL rewriting via Tcl/ADP, a new Tcl&lt;br /&gt;
command, "ns_internalredirect" is needed.  This simply&lt;br /&gt;
exposes the existing Ns_ConnRedirect C function.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dossy Shiobara</dc:creator><pubDate>Fri, 07 Oct 2005 00:44:05 -0000</pubDate><guid>https://sourceforge.net298115ec89ff1ad0e3a46001a258afaa40653edf</guid></item><item><title>Improve const correctness</title><link>https://sourceforge.net/p/aolserver/feature-requests/82/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Would you like to apply the advices from the article&lt;br /&gt;
"http://en.wikipedia.org/wiki/Const_correctness" to&lt;br /&gt;
your sources?&lt;br /&gt;
I suggest to add the key word "const" to the type&lt;br /&gt;
specifiers for parameters like the following examples.&lt;br /&gt;
&lt;a href="http://aolserver.sourceforge.net/docs/devel/c/api/"&gt;http://aolserver.sourceforge.net/docs/devel/c/api/&lt;/a&gt;&lt;br /&gt;
-&lt;br /&gt;
&lt;a href="http://cvs.sourceforge.net/viewcvs.py/aolserver/aolserver/include/ns.h?rev=1.78&amp;amp;view=markup"&gt;http://cvs.sourceforge.net/viewcvs.py/aolserver/aolserver/include/ns.h?rev=1.78&amp;amp;view=markup&lt;/a&gt;&lt;br /&gt;
a (function "Ns_Match")&lt;br /&gt;
s1 (function "Ns_StrCaseFind")&lt;br /&gt;
pattern (function "Ns_StrNStr")&lt;br /&gt;
location (function "Ns_RelativeUrl")&lt;br /&gt;
url (functions "Ns_ParseUrl", "Ns_FetchURL")&lt;br /&gt;
url, base (function "Ns_AbsoluteUrl")&lt;br /&gt;
url, server (function "Ns_FetchPage")&lt;br /&gt;
handle, method, url (functions "Ns_UrlSpecific.et.+")&lt;br /&gt;
user (functions "Ns_GetU.+")&lt;br /&gt;
group (function "Ns_GetGid")&lt;/p&gt;
&lt;p&gt;-&lt;br /&gt;
&lt;a href="http://cvs.sourceforge.net/viewcvs.py/aolserver/aolserver/include/nsthread.h?rev=1.29&amp;amp;view=markup"&gt;http://cvs.sourceforge.net/viewcvs.py/aolserver/aolserver/include/nsthread.h?rev=1.29&amp;amp;view=markup&lt;/a&gt;&lt;br /&gt;
name (function "Ns_ThreadSetName")&lt;br /&gt;
t1, t0 (function "Ns_DiffTime")&lt;br /&gt;
tlsPtr (function "Ns_TlsGet")&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Markus Elfring</dc:creator><pubDate>Sun, 07 Aug 2005 19:09:33 -0000</pubDate><guid>https://sourceforge.net79ea7791ac30e3667a88f6242416bb8ae41d8a89</guid></item><item><title>nscgi: SCRIPT_FILENAME, SERVER_ROOT, DOCUMENT_ROOT</title><link>https://sourceforge.net/p/aolserver/feature-requests/81/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Several environment variables aren't being set by nscgi:&lt;/p&gt;
&lt;p&gt;SCRIPT_FILENAME, SERVER_ROOT, DOCUMENT_ROOT&lt;/p&gt;
&lt;p&gt;In particular, SCRIPT_FILENAME is needed by "php-cgi"&lt;br /&gt;
for use under AOLserver with nscgi.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dossy Shiobara</dc:creator><pubDate>Tue, 10 May 2005 01:16:33 -0000</pubDate><guid>https://sourceforge.net970813a8ebef1883c7cfc2d8bc2a55ed446b3a2e</guid></item><item><title>New Config APIs to document default values.</title><link>https://sourceforge.net/p/aolserver/feature-requests/80/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;AOLserver  uses a configuration file containing ns_section and &lt;br /&gt;
ns_param commands which are executed upon server startup. &lt;/p&gt;
&lt;p&gt;The values obtained from the configuration file can override &lt;br /&gt;
default values which are set in the C files.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;However, there is currently no method of easily documenting &lt;br /&gt;
what values are used, and what configuration options are &lt;br /&gt;
available without examining the C source files. &lt;/p&gt;
&lt;p&gt;I propose adding new APIs which replace single lines of code in &lt;br /&gt;
the C source files where default values are stored in C &lt;br /&gt;
structures for later useage of the running server. Each new api &lt;br /&gt;
will attempt to append a new Ns_Set field to an existing set &lt;br /&gt;
associated with the section. &lt;/p&gt;
&lt;p&gt;I have rewritten nsd/config.c and added four lines to include/ns.h &lt;br /&gt;
which provides the required APIs.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;I have also written a C module and example config section for &lt;br /&gt;
testing the changes. The tar file contains the changed files and &lt;br /&gt;
the new module. &lt;/p&gt;
&lt;p&gt;The files, along with diffs to 4.1a are located at &lt;br /&gt;
&amp;lt;http://rmadilo.com/m2/config-changes/&amp;gt;. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tom Jackson</dc:creator><pubDate>Wed, 16 Feb 2005 21:05:21 -0000</pubDate><guid>https://sourceforge.net803e99505e122190a46c3cecbf603222ac2b36ce</guid></item><item><title>ns_adp_compress: apply gzip to outgoing ADP buffer</title><link>https://sourceforge.net/p/aolserver/feature-requests/79/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Using the new Ns_Compress() function, add the&lt;br /&gt;
capability to gzip-compress ADP responses.&lt;/p&gt;
&lt;p&gt;New configuration options:&lt;/p&gt;
&lt;p&gt;ns_section "ns/server/${servername}/adp/gzip"&lt;br /&gt;
ns_param enabled on&lt;br /&gt;
ns_param level 4&lt;br /&gt;
ns_param minsize 0&lt;/p&gt;
&lt;p&gt;New Tcl API:&lt;/p&gt;
&lt;p&gt;ns_adp_compress ?boolean?&lt;/p&gt;
&lt;p&gt;By default, "boolean" is "on."  Calling&lt;br /&gt;
"ns_adp_compress on" will flag the ADP request for&lt;br /&gt;
compression if the requirements are met (ADP streaming&lt;br /&gt;
not turned on, ADP reseponse is larger than minsize,&lt;br /&gt;
enabled in config).&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dossy Shiobara</dc:creator><pubDate>Mon, 10 Jan 2005 18:12:49 -0000</pubDate><guid>https://sourceforge.net676fdb85359bff81cf988f92ddd8c757d813bdc1</guid></item><item><title>Ship Tcl Threads Extension stock with AOLserver</title><link>https://sourceforge.net/p/aolserver/feature-requests/78/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The Tcl Threads Extension is compatible with and&lt;br /&gt;
inspired by the AOLserver NSV API, but is substantially&lt;br /&gt;
more featureful.  So, why not just ship it stock with&lt;br /&gt;
AOLserver for 4.1?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andrew Piskorski</dc:creator><pubDate>Fri, 24 Dec 2004 05:10:52 -0000</pubDate><guid>https://sourceforge.net561036d6db96d92405487d34b800ebc53d1e244c</guid></item><item><title>Make ADP parser in 4.x backward compatible with 3.5.x</title><link>https://sourceforge.net/p/aolserver/feature-requests/77/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The new default ADP fancy parser in AOLserver 4.x gives &amp;lt;% %&amp;gt; &lt;br /&gt;
tags precedence over registered tags.  In rare instances this &lt;br /&gt;
behavior causes incompatibilities with ADPs written for AS 3.5.x, &lt;br /&gt;
so it would be nice if the old style was still supported.&lt;/p&gt;
&lt;p&gt;Example of incompatibility with AS 3.5.x:&lt;/p&gt;
&lt;p&gt;&amp;lt;% set foo 1 %&amp;gt;&lt;br /&gt;
&amp;lt;if foo eq 1&amp;gt;&lt;br /&gt;
&amp;lt;% ns_adp_puts bar %&amp;gt;&lt;br /&gt;
&amp;lt;/if&amp;gt;&lt;/p&gt;
&lt;p&gt;Output is:&lt;/p&gt;
&lt;p&gt;&amp;lt;if foo eq 1&amp;gt;&lt;br /&gt;
bar&lt;/p&gt;
&lt;p&gt;&amp;lt;/if&amp;gt;&lt;/p&gt;
&lt;p&gt;Clearly this fails to parse the registered tags.&lt;/p&gt;
&lt;p&gt;The attached patch adds the 'backwardcompatible' ns_param to the &lt;br /&gt;
adp section of the configuration file.  Setting this to true will revert &lt;br /&gt;
the adp parser back to AS 3.5.x style parsing.&lt;/p&gt;
&lt;p&gt;Or even better would be to just drop the new style parsing and &lt;br /&gt;
leave it the way 3.5.x was! :)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeremy Collins</dc:creator><pubDate>Sun, 19 Sep 2004 06:49:37 -0000</pubDate><guid>https://sourceforge.net51fb072ca96a51d6908b807fc2b2c2818d12e0cb</guid></item><item><title>[ns_info shutdownpending] is missing</title><link>https://sourceforge.net/p/aolserver/feature-requests/76/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The subcommand "shutdownpending" is missing from the&lt;br /&gt;
"ns_info" command.  This should invoke the C API&lt;br /&gt;
Ns_InfoShutdownPending() and return a boolean value.&lt;/p&gt;
&lt;p&gt;One specific use case where the [ns_info&lt;br /&gt;
shutdownpending] is important: long-running worker&lt;br /&gt;
threads running in forever-loops need to know when to&lt;br /&gt;
terminate at server shutdown.  Especially important are&lt;br /&gt;
scheduled procs that run in separate threads from the&lt;br /&gt;
main "sched" thread.&lt;/p&gt;
&lt;p&gt;Right now, those threads will cause the server to wait&lt;br /&gt;
until "shutdowntimeout" (default 20 sec) then the&lt;br /&gt;
server will abend with the following fatal message:&lt;/p&gt;
&lt;p&gt;[17/Sep/2004:00:30:22][13849.79][-driver-] Fatal:&lt;br /&gt;
driver: trigger recv() failed: Socket operation on&lt;br /&gt;
non-socket&lt;/p&gt;
&lt;p&gt;Those threads need to be implemented to periodically&lt;br /&gt;
check (at least as frequently as once every&lt;br /&gt;
shutdowntimeout seconds) for [ns_info shutdownpending]&lt;br /&gt;
true, and if so, terminate themselves.&lt;/p&gt;
&lt;p&gt;For threads which run C procs, they should use the&lt;br /&gt;
Ns_InfoShutdownPending() C API which already exists to&lt;br /&gt;
do the same.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dossy Shiobara</dc:creator><pubDate>Fri, 17 Sep 2004 14:10:35 -0000</pubDate><guid>https://sourceforge.netbfb84c535b6e69581b447f09d97b3479ed9ed950</guid></item><item><title>Integrate ns_image extension in core</title><link>https://sourceforge.net/p/aolserver/feature-requests/75/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;There is an interesting and very useful extension nsimage&lt;br /&gt;
which effectively replaces the functionality of existing&lt;br /&gt;
ns_jpegsize and ns_gifsize built-in commands, adding &lt;br /&gt;
support for png images as well.&lt;/p&gt;
&lt;p&gt;Idea is to integrate this into the core since it&lt;br /&gt;
effectively&lt;br /&gt;
adds more features, while providing the backwards&lt;br /&gt;
compat to existing commands.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zoran Vasiljevic</dc:creator><pubDate>Tue, 14 Sep 2004 06:55:21 -0000</pubDate><guid>https://sourceforge.netadfc35455f1e52acf4edc0e0cf79e3b5f7536427</guid></item><item><title>Win32: Implement optional systray icon</title><link>https://sourceforge.net/p/aolserver/feature-requests/74/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;On Win32, allow enabling of a systray icon from the&lt;br /&gt;
config .tcl script.&lt;/p&gt;
&lt;p&gt;The systray icon might have several options: "stats" -&lt;br /&gt;
display some basic statistics (number of connections,&lt;br /&gt;
max connections, etc.); "control port" - open a simple&lt;br /&gt;
window which simulates the control port, taking input&lt;br /&gt;
and evaluating it and displaying the results; etc.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dossy Shiobara</dc:creator><pubDate>Tue, 07 Sep 2004 14:13:25 -0000</pubDate><guid>https://sourceforge.net2560f53483eb96c61cd23502bb2e44b6382e0b59</guid></item></channel></rss>