I would suggest that buffered writes in client/server communications are necessary too.

[pid 29764] 02:06:40.056515 <... read resumed> "Q", 1) = 1
[pid 29774] 02:06:40.056570 <... write resumed> ) = 1
[pid 29764] 02:06:40.056618 write(18, "* 1 FETCH (FLAGS () UID 2)\r\n", 28 <unfinished ...>

[.....]

[pid 29774] 02:06:40.057614 write(16, "Q", 1) = 1
[pid 29774] 02:06:40.057707 write(16, "Q", 1) = 1
[pid 29764] 02:06:40.057774 write(18, "* 2 FETCH (FLAGS () UID 4)\r\n", 28 <unfinished ...>


Paul J Stevens пишет:
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Paul's DBMail tree".

The branch, master has been updated
       via  ee104778cf6fedc5b77544120159ec28eeccd87c (commit)
       via  45ba60dea854c4649a9b1cf116210c74495f8868 (commit)
       via  09c9f56b2dd4a43a134a30adb8fc92065bd3eb04 (commit)
       via  cff23592dcf6f0b95305c0fb06fc5523cce10d49 (commit)
       via  7bfa522347d427016e9a74953f3f0d1a97fd113b (commit)
       via  24fa48b9ff24d661fc3d9ebe752e5839bf7a75bb (commit)
       via  ba0973ecb5e2b78168ad53c2b55859ba77e75407 (commit)
       via  2c07cb5d2c3af82809ca044b627a7f5cdbf62762 (commit)
       via  020b3b5cfad42bc14b08beadd8ce53029e68f9c2 (commit)
      from  3f02bac2daa17e61b02881b2b83be195dd478c9b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ee104778cf6fedc5b77544120159ec28eeccd87c
Author: Paul J Stevens <[email protected]>
Date:   Tue Feb 24 17:08:05 2009 +0100

    performance hack

commit 45ba60dea854c4649a9b1cf116210c74495f8868
Author: Paul J Stevens <[email protected]>
Date:   Tue Feb 24 16:19:34 2009 +0100

    imap-envelope fixes

commit 09c9f56b2dd4a43a134a30adb8fc92065bd3eb04
Author: Paul J Stevens <[email protected]>
Date:   Tue Feb 24 14:37:11 2009 +0100

    fix imap list for mailbox/%/% patterns

commit cff23592dcf6f0b95305c0fb06fc5523cce10d49
Author: Paul J Stevens <[email protected]>
Date:   Tue Feb 24 14:36:39 2009 +0100

    fix off-by-one error

commit 7bfa522347d427016e9a74953f3f0d1a97fd113b
Author: Paul J Stevens <[email protected]>
Date:   Tue Feb 24 11:56:04 2009 +0100

    finish buffered reads

commit 24fa48b9ff24d661fc3d9ebe752e5839bf7a75bb
Author: Paul J Stevens <[email protected]>
Date:   Tue Feb 24 10:44:19 2009 +0100

    update internal state after deleting a mailbox with children

commit ba0973ecb5e2b78168ad53c2b55859ba77e75407
Author: Paul J Stevens <[email protected]>
Date:   Sun Feb 22 21:36:39 2009 +0100

    buffered reads for pop3d

commit 2c07cb5d2c3af82809ca044b627a7f5cdbf62762
Author: Paul J Stevens <[email protected]>
Date:   Sun Feb 22 16:28:47 2009 +0100

    wip buffered reads
imap now is working again

commit 020b3b5cfad42bc14b08beadd8ce53029e68f9c2
Author: Paul J Stevens <[email protected]>
Date:   Mon Feb 16 17:07:24 2009 +0100

    wip: buffered reads

-----------------------------------------------------------------------

Summary of changes:
 src/clientbase.c          |  137 +++++++++++++++++++++++-----------------
 src/clientbase.h          |    1 +
 src/clientsession.c       |   30 ++++++++-
 src/dbmail-imapsession.c  |    5 +-
 src/dbmailtypes.h         |   11 +++-
 src/dm_misc.c             |   11 +++-
 src/dm_misc.h             |    2 +
 src/imap4.c               |  155 +++++++++++++++++++++++----------------------
 src/imapcommands.c        |   17 +++++-
 src/lmtp.c                |   60 +++++++++---------
 src/pop3.c                |   37 +++++------
 src/timsieve.c            |   48 ++++++--------
 test/check_dbmail.h       |    8 +++
 test/check_dbmail_imapd.c |   49 ++++++++++----
 14 files changed, 336 insertions(+), 235 deletions(-)


hooks/post-receive
--
Paul's DBMail tree
_______________________________________________
Dbmail-dev mailing list
[email protected]
http://twister.fastxs.net/mailman/listinfo/dbmail-dev

_______________________________________________
Dbmail-dev mailing list
[email protected]
http://twister.fastxs.net/mailman/listinfo/dbmail-dev

Reply via email to