/[Apache-SVN]/httpd/httpd/trunk/server/eor_bucket.c
ViewVC logotype

Log of /httpd/httpd/trunk/server/eor_bucket.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 451279 - (view) (annotate) - [select for diffs]
Modified Fri Sep 29 13:15:08 2006 UTC (3 years, 1 month ago) by rpluem
File length: 3232 byte(s)
Diff to previous 420983 (colored)
* Move the tasks of eor_bucket_destroy (status update, transaction logging) to
  a cleanup function that is registered with the request pool.
  eor_bucket_destroy only destroys the request pool if there is still a request
  at this point of time which triggers the call of the cleanup function.

  This is needed as the eor bucket could be (and usually is) allocated from
  a pool different from the request pool (the connection pool in this case).
  This can lead to situations where eor_bucket_destroy is called at a point of
  time when the request pool had been already destroyed. But the status update
  and the transaction logging rely on the request pool.

  In practise this happens with the worker MPM if the client refuses to read
  the response from the handler. Then the unsent data (including the
  eor bucket) remains in a brigade allocated from the connection pool which
  is the parent of the request pool. This brigade is cleaned up during the
  cleanup of the ptrans pool in worker_thread. As the request pool gets
  destroyed during this cleanup operation *before* the brigade gets cleaned up
  eor_bucket_destroy starts the status update and the transaction logging with
  a destroyed request pool which leads to a segfault.

Revision 420983 - (view) (annotate) - [select for diffs]
Modified Tue Jul 11 20:33:53 2006 UTC (3 years, 4 months ago) by fielding
File length: 2212 byte(s)
Diff to previous 395228 (colored)
update license header text

Revision 395228 - (view) (annotate) - [select for diffs]
Modified Wed Apr 19 12:11:27 2006 UTC (3 years, 7 months ago) by colm
File length: 2065 byte(s)
Diff to previous 366337 (colored)
Update the copyright year in all .c, .h and .xml files

Revision 366337 - (view) (annotate) - [select for diffs]
Modified Thu Jan 5 23:29:57 2006 UTC (3 years, 10 months ago) by jim
File length: 2065 byte(s)
Diff to previous 332306 (colored)
Update status before we run the logging hook

Revision 332306 - (view) (annotate) - [select for diffs]
Modified Thu Nov 10 15:11:44 2005 UTC (4 years ago) by jim
File length: 1993 byte(s)
Diff to previous 329664 (colored)
No functional Change: Removing trailing whitespace. This also
means that "blank" lines consisting of just spaces or
tabs are now really blank lines

Revision 329664 - (view) (annotate) - [select for diffs]
Modified Sun Oct 30 22:55:35 2005 UTC (4 years ago) by brianp
File length: 1998 byte(s)
Diff to previous 329540 (colored)
Moved the extended_status scoreboard update from ap_process_http_connection
to the EOR bucket destructor.  Also, added some defensive code and comments
regarding r->pool lifetime to ap_process_http_connection.

Revision 329540 - (view) (annotate) - [select for diffs]
Modified Sun Oct 30 08:15:15 2005 UTC (4 years ago) by nd
File length: 1874 byte(s)
Diff to previous 328069 (colored)
fix svn:eol-style

Revision 328069 - (view) (annotate) - [select for diffs]
Modified Mon Oct 24 13:49:09 2005 UTC (4 years, 1 month ago) by jorton
File length: 1874 byte(s)
Diff to previous 327925 (colored)
* server/eor_bucket.c: Pick up ap_run_log_transaction prototype.

Revision 327925 - (view) (annotate) - [select for diffs]
Added Mon Oct 24 02:39:49 2005 UTC (4 years, 1 month ago) by brianp
File length: 1847 byte(s)
Redesign of request cleanup and logging to use End-Of-Request bucket
(backport from async-dev branch to 2.3 trunk)

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

apache@apache.org
ViewVC Help
Powered by ViewVC 1.1.2