The official NGINX Open Source repository.
Go to file
Maxim Dounin 59205ce109 Event pipe: fixes for complex protocols.
1. In ngx_event_pipe_write_chain_to_temp_file() make sure to fully write
   all shadow buffers up to last_shadow.  With this change recycled buffers
   cannot appear in p->out anymore.  This also fixes segmentation faults
   observed due to ngx_event_pipe_write_chain_to_temp() not freeing any
   raw buffers while still returning NGX_OK.

2. In ngx_event_pipe_write_to_downstream() we now properly check for busy
   size as a size of buffers, not a size of data in these buffers.  This
   fixes situations where all available buffers became busy (including
   segmentation faults due to this).

3. The ngx_event_pipe_free_shadow_raw_buf() function is dropped.  It's
   incorrect and not needed.
2011-10-31 09:53:16 +00:00
auto Revamped "configure --help" text. 2011-10-26 13:18:33 +00:00
conf Adding m4a and m4v MIME types (closed #42). 2011-10-28 15:24:31 +00:00
contrib nginx-0.3.55-RELEASE import 2006-07-28 15:16:17 +00:00
docs nginx-1.1.6-RELEASE 2011-10-17 15:10:23 +00:00
misc Removal of incomplete draft documentation processing. 2011-10-17 15:42:12 +00:00
src Event pipe: fixes for complex protocols. 2011-10-31 09:53:16 +00:00
.hgtags release-1.1.6 tag 2011-10-17 15:10:31 +00:00