- 14 Sep, 2001 14 commits
-
-
-
-
-
-
-
-
-
-
-
-
-
Fixed bug in cyclic stream pool handling. Lowered MAX_OPEN_STREAMS limit. It probably should be configurable.
Sergey Poznyakoff authored
- 10 Sep, 2001 4 commits
-
-
- 09 Sep, 2001 7 commits
-
-
by gcc (-Wall, etc ...) * mailbox/mbx_mh.c: Add include for pthread. seq_number is size_t. (_mh_message_name): The problem here is that asprintf() is a GNU extension. We want libmailbox to be as independent as possible, so it will not be required for program to be link with libmailutils(it is not even install). Default to snprintf (). (mh_close): return an int. (_mh_message_insert): n should be size_t.
Alain Magloire authored -
-
-
-
-
object was that select() was not cover, meaning it was not possible to check if a stream was {read,write} ready. The old was to get the fd (stream_get_fd()) and do the select. Providing, stream_is_readready (stream_t, int timeout); stream_is_writeready (stream_t, int timeout); stream_is_exceptionpending (stream_t, int timeout); stream_is_open (stream_t); Takes care of it. It will work specially for tcp stream. * mailbox2/stream.c: New functions for the select calls: (stream_is_readready): New function. (stream_is_writeready): New function.(stream_t, int timeout); (stream_is_exceptionpending): New function. (stream_is_open): New function. * mailbox2/bstream.c (_bs_readline): Bug was truncating the string to early. (_bs_is_readready): New file. (_bs_is_writeready): New file. (_bs_is_exceptionpending): New file. (_bs_is_open): New file. * mailbox2/fstream.c: stubs for the select functions. * mailbox2/memstream.c: stubs for the select functions. * mailbox2/mapstream.c: stubs for the select functions. * mailbox2/tcpstream.c: stubs for the select functions. * mailbox2/include/mailutils/stream.h: Adjust the prototypes * mailbox2/include/mailutils/sys/stream.h: Adjust the prototypes It is better not to put threading (Pthread) code in the low level API. But instead in mailbox_t framework, where it can be control. * mailbox2/include/mailutils/pop3.h: Adjust the prototypes. * mailbox2/pop3/*.c: Remove threading code.
Alain Magloire authored
-
- 08 Sep, 2001 9 commits
-
-
mode. In read-write, it is able to delete and undelete messages but lacks `append message' functionality. Expunge does not unlink message files but rather renames them prepending ',' to a filename, after MH fashion.
Sergey Poznyakoff authored -
-
-
-
-
-
-
-
mode. In read-write, it is able to delete and undelete messages but lacks `append message' functionality. Expunge does not delete message files but rather renames them prepending ',' to a filename, after MH fashion.
Sergey Poznyakoff authored
-
- 07 Sep, 2001 1 commit
-
-
- 05 Sep, 2001 4 commits
-
-
-
calls (noticeable on imap4d when doing multiple login attempts). Provide configurable parameters to mysql_real_reconnect to allow connecting to the remote database and/or non-standard ports.
Sergey Poznyakoff authored -
-
- 04 Sep, 2001 1 commit
-
-
* mailbox/mailbox.c (mailbox_get_debug): Get the mu_debug_t object from the folder if available. * mailbox/mbx_imap.c (imap_append_message): Check for EAGAIN. (imap_header_get_value): If the operation return 0, set error to ENOENT.
Alain Magloire authored
-