Dear fellow Tcl'ers

rivet-2.2.1 was released and it's available for download from the ASF distribution mirrors. This version of Rivet includes the few features we discussed about on this list

New Tcl commands

New command "::rivet::redir URL ?permanent?" was introduced. The command achieves the same function of ::rivet::headers redirect <URL> but it extends it triggering the execution of the AbortScript script when defined. The command builds a dictionary carrying 2 keys storing the reason for the abort (error_code) and URL the browser is diverted to. This code can be fetched with command ::rivet::abort_code

New command ::rivet::header sent returns 1 if HTTP have been sent already because either the output buffer was filled or command flush stdout was executed

New command ::rivet::headers get returns the value of an HTTP output header mod_rivet internal changes and build system improvements

Configuration of the package was extended by adding a new
--with-apu-config macro that allows fine control over the location of apr-util include files (contributed by Poor Yorick)

New directive SeparateChannels allow finer control over Rivet internal channels. I/O handling is done in mod_rivet by creating a single channel per child process. This is true also if SeparateVirtualInterp is set, thus reducing the amount of memory allocated for channel descriptors and buffers.This is good for most common usages of Rivet because it's unlikely that applications will tamper with the channel parameters. Anyway if you're deploying mod_rivet in an environment where different applications need to have full control over channels setting the directive you restore previous mod_rivet policy. This option has effect only if SeparateVirtualInterp is set

 -- Massimo

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to