> So I know for the first-stage rollout, does Apache's module system support > Apache managing filehandles and modules calling apache's I/O routines, or > does it just do weird magic with I/O on normal filehandles?
I'm pretty sure that for a simple implementation, we only need to worry about "O" (Output), and that works via a function call. So we'd end up calling something like write_to_client() with all data sent to STDOUT. Sort of like a tied FH. (At least I'm pretty sure that's how mod_perl works.) So we might be able to get this working today if we create a new opcode called "write to apache" - but in the long run we'd want to do that with an overloaded IO PMC, i think. -R (rambling)