APACHE 2.0 STATUS: -*-text-*-
-Last modified at [$Date: 2002/02/24 16:20:01 $]
+Last modified at [$Date: 2002/02/25 06:54:40 $]
Release:
RELEASE NON-SHOWSTOPPERS BUT WOULD BE REAL NICE TO WRAP THESE UP:
+ * With AP_MODE_EXHAUSTIVE in the core, it is finally clear to me
+ how the Perchild MPM should be re-written. It hasn't worked
+ correctly since filters were added because it wasn't possible to
+ get the content that had already been written and the socket at
+ the same time. This mode lets us do that, so the MPM can be
+ fixed.
+
* htpasswd blindly processes the file you give it, and does no
sanity checking before totally corrupting whatever file it was
you thought you had. It should check the input file and bail
}
}
- /* If readbytes is -1, we want to just read everything until the end
- * of the brigade, which in this case means the end of the socket. To
- * do this, we loop through the entire brigade, until the socket is
- * exhausted, at which point, it will automagically remove itself from
- * the brigade.
- * ### No one in their right mind should be calling this with -1.
- * This is just an all-around bad idea. We may be better off by
- * just closing the socket. Determine whether anyone uses this.
+ /* If mode is EXHAUSTIVE, we want to just read everything until the end
+ * of the brigade, which in this case means the end of the socket.
+ * To do this, we attach the brigade that has currently been setaside to
+ * the brigade that was passed down, and send that brigade back.
+ *
+ * NOTE: This is VERY dangerous to use, and should only be done with
+ * extreme caution. However, the Perchild MPM needs this feature
+ * if it is ever going to work correctly again. With this, the Perchild
+ * MPM can easily request the socket and all data that has been read,
+ * which means that it can pass it to the correct child process.
*/
if (mode == AP_MODE_EXHAUSTIVE) {
apr_bucket *e;