httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <joe+gm...@sunstarsys.com>
Subject Re: mod_smtpd design - protocol
Date Sun, 17 Jul 2005 01:11:58 GMT
Joe Schaefer <joe+gmane@sunstarsys.com> writes:

> "Jem Berkes" <jb-httpd@users.pc9.org> writes:
>
>> I think this granularity is required. But I'm not
>> sure about how the DATA hook would work? 
>
> Have you considered using libapreq2 for parsing
> the mime headers in there?  The header parser
> should really convenient for that, you could
> even introduce a post-header-parser hook that
> runs when the parser finishes.

The reason I bring it up is that libapreq2's
parsers aren't tied to a request_rec, they
include a hook API, and libapreq2 even
has a multipart parser as well. It seems
like all the important DATA events can 
be mapped directly to apreq parsers and
hooks.


-- 
Joe Schaefer


Mime
View raw message