osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 61909] mod_fcgid FCGI_STDERR gets truncated


https://bz.apache.org/bugzilla/show_bug.cgi?id=61909

Merijn van den Kroonenberg <merijnvdk@xxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |merijnvdk@xxxxxxxxxx

--- Comment #1 from Merijn van den Kroonenberg <merijnvdk@xxxxxxxxxx> ---
Created attachment 35615
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35615&action=edit
fix to write the entire stderr to the logfile

fcgid_bucket.c: changed the FCGI_STDERR handling so it keeps reading STDERR
data in multiple batches if the internal buffersize of APR_BUCKET_BUFF_SIZE
(8000 bytes) is exceeded. It tries to prevent chopping up lines in stderr so
there are no broken up lines in the error log. 

We are using this in production for 2 months now.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: bugs-help@xxxxxxxxxxxxxxxx