[dev] I/O hammering

Egan egan@sevenkings.net
Sat, 23 Jun 2001 14:06:38 -0400


On Sat, 23 Jun 2001 09:59:20 -0500 (CDT), "Brent J. Nordquist"
<bjn@horde.org> wrote:

>Wow.  :-)  Congratulations.  I don't know a ton about IMAP, but I'm
>assuming that these new capabilities will be detectable as part of the
>protocol negotiation

That's not necessary.


>so that IMP can use them if present, and fall back if not?

IMAP servers never see the new flags; only c-client sees them.  If
they are passed to older versions of c-client, they will be silently
ignored.  So they are safe in all cases.


>I'm sure it will take some time for the other IMAP servers to support
>these, and of course old server versions have to be accounted for.

The new flags are transparent to all servers; they do not change the
IMAP protocol language itself.  The flags only improve the grammar and
coherency of clients speaking the language.  Yo!  :-)

For purposes of the IMP project, the only people who need to know
about the new flags are developers working on php_imap.c.  And their
only concern is that code restructured to use the new flags with any
c-client search or fetch functions must anticipate either old or new
behavior from the c-client function calls.

If you make imap-2001 c-client a prerequisite for future versions of
php-imap, then you can ignore the possibility of old c-client behavior
when working on new code for php_imap.c.  That might be a good idea in
the not too distant future.


>By "body structure" you mean just the layout (number of MIME parts, MIME
>type of each,e tc.) but not the content of each part?

Yes.


Egan.