You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tcl.apache.org by mx...@apache.org on 2019/08/22 01:48:45 UTC

[tcl-rivet] branch master updated (ac0b9cb -> a021da9)

This is an automated email from the ASF dual-hosted git repository.

mxmanghi pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/tcl-rivet.git.


    from ac0b9cb  Add Tcl_DecrRefCnt after RivetCache_StoreScript as this function itself calls Tcl_IncrRefCnt to preserve the Tcl_Obj with the script code
     add ca4eb94  single thread exit code for mod_rivet 3.2
     add 856cfd2  Single thread exit implementation for 3.2 with better function task definition
     add 1789515  Further simplifications ported from branch quattuor
     add 0e48c26  prosing thread handling in child process exit
     add 6665bc7  documenting ::rivet::thread_id
     add 47e58cd  documenting directive SingleThreadExit
     add 1df2db4  documenting ::rivet::thread_id
     new a021da9  better wording when explaining 'flush stdout' side effects on ::rivet::redirect

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 ChangeLog                                |  12 ++
 doc/rivet.xml                            |   1 +
 doc/rivet.xml.in                         |   1 +
 doc/xml/commands.xml                     |  82 ++++++----
 doc/xml/directives.xml                   |  25 +++-
 src/mod_rivet_ng/apache_config.c         |  54 +++----
 src/mod_rivet_ng/mod_rivet.c             |  10 +-
 src/mod_rivet_ng/mod_rivet.h             |  44 +++---
 src/mod_rivet_ng/mod_rivet_common.c      |  43 +++++-
 src/mod_rivet_ng/mod_rivet_common.h      |   6 +-
 src/mod_rivet_ng/mod_rivet_generator.c   |  23 +--
 src/mod_rivet_ng/mod_rivet_generator.h   |   4 +-
 src/mod_rivet_ng/rivetCore.c             |  22 ++-
 src/mod_rivet_ng/rivet_lazy_mpm.c        |  92 +++++++++---
 src/mod_rivet_ng/rivet_prefork_mpm.c     |  41 ++---
 src/mod_rivet_ng/rivet_worker_mpm.c      | 250 ++++++++++++++++++++-----------
 src/mod_rivet_ng/worker_prefork_common.c |  18 +--
 17 files changed, 482 insertions(+), 246 deletions(-)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tcl.apache.org
For additional commands, e-mail: commits-help@tcl.apache.org


[tcl-rivet] 01/01: better wording when explaining 'flush stdout' side effects on ::rivet::redirect

Posted by mx...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

mxmanghi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tcl-rivet.git

commit a021da9c430a3adb9054b775826bfeca5b5db79f
Author: Massimo Manghi <mx...@apache.org>
AuthorDate: Thu Aug 22 03:48:01 2019 +0200

    better wording when explaining 'flush stdout' side effects on ::rivet::redirect
---
 doc/xml/commands.xml | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/doc/xml/commands.xml b/doc/xml/commands.xml
index edf2f9e..c423952 100644
--- a/doc/xml/commands.xml
+++ b/doc/xml/commands.xml
@@ -1522,11 +1522,10 @@ bab</programlisting>
        		
        		The command can fail if
        		<itemizedlist>
-       			<listitem>A <command>flush stdout</command> was called before <command>::rivet::redirect</command>
-       			thus causing the HTTP headers to be sent and preventing any possibility to 
-       			manipulate them</listitem>
-       			<listitem>The channel buffer was filled causing Tcl to
-       			flush the channel</listitem>
+       			<listitem>A <command>flush stdout</command> has already been called before
+       			<command>::rivet::redirect</command> thus causing the HTTP headers to be sent</listitem>
+       			<listitem>The channel buffer has been flushed already by calling <command>flush stdout</command>
+       			or because the Rivet channel internal buffer was full</listitem>
        		</itemizedlist>
 				The <command>stdout</command> channel, like any Tcl channels, can be manipulated
 				and if needed its internal buffer stretched.    


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tcl.apache.org
For additional commands, e-mail: commits-help@tcl.apache.org