Displaying 20 results from an estimated 200 matches similar to: "[PATCH] add missing error check in epoll code"
2004 Aug 30
0
[PATCH] [RFC] epoll based ioloop handler (now with patch)
Sorry, I forgot to attach patch to previous mail.
--
Andrey Panin | Linux and UNIX system administrator
pazke at donpac.ru | PGP key: wwwkeys.pgp.net
-------------- next part --------------
diff -urpNX /usr/share/dontdiff dovecot-cvs.vanilla/configure.in dovecot-cvs/configure.in
--- dovecot-cvs.vanilla/configure.in 2004-08-09 23:14:02.000000000 +0400
+++ dovecot-cvs/configure.in 2004-08-25
2004 Oct 25
0
[PATCH] Request for testing: BSD kqueue ioloop handler
Hello,
attached patch adds experimental ioloop handler which uses BSD kqueue API.
It compiles and survives my small test program, but not thoroughly
tested because I have no suitable BSD machine to torture.
Brave owners of (Free|Net|Open)BSD please test and report results :)
Best regards.
--
Andrey Panin | Linux and UNIX system administrator
pazke at donpac.ru | PGP key: wwwkeys.pgp.net
2004 Oct 25
0
[PATCH] move iolist functions into separate file
Hello,
attached patch extracts iolist related functions into separate
file and makes it a little more generic. This functions will
be used by the new ioloop handler based on the BSD kqueue API.
Please consider applying.
Best regards.
--
Andrey Panin | Linux and UNIX system administrator
pazke at donpac.ru | PGP key: wwwkeys.pgp.net
-------------- next part --------------
diff -udrpNX
2004 Aug 23
1
[PATCH] pass struct io * to io_loop_handle_add()/io_loop_handle_remove()
Hello,
currently I'm working on new ioloop handler which uses epoll(4) API
introduced in Linux kernel 2.6. In this API each fd added to fd set
by epoll_ctl system call can be accompanied with user supplied data
(integer or void pointer). epoll_wait syscall reports arrived events
as an array of structures containing event mask and user data.
Attached patch replaces fd and condition parameters
2004 Oct 07
0
[PATCH] change old style SASL discovery code
Hello,
this patch reworks old-style SASL discovery code. With this
patch applied it advertises all configured SASL mechanisms.
It makes possible for MS Outlook to use all installed
security service providers (SSP), so if someone crazy enough
will write CRAM-MD5 or DIGEST-MD5 SSP we'll support it readily :)
Please consider applying.
Best regards.
--
Andrey Panin | Linux and UNIX system
2008 Jan 04
13
Unable to delete epoll event
I occasionally get a fatal error
unable to delete epoll event: Bad file descriptor
I think the attached patch will fix it.
The patch does two things:
1) changes the error we look for from ENOENT to EBADF. It is hard to
reproduce this error, but if I change the epoll_ctl line to
epoll_ctl(epfd, EPOLL_CTL_DEL, 666, ed->GetEpollEvent());
it does return -1 with errno = EBADF on my Linux 2.6.9
2004 Sep 30
1
[PATCH] NTLM2 support
Hello,
as pointed by Andrew Bartlett NTLM2 authentication support
is missing in dovecot. Attached patch adds it.
Tested and works for me.
Please consider applying.
Best regards.
--
Andrey Panin | Linux and UNIX system administrator
pazke at donpac.ru | PGP key: wwwkeys.pgp.net
-------------- next part --------------
diff -urpNX /usr/share/dontdiff
2004 Oct 07
0
[PATCH] fix NTLM2 endianness buglet
Hi,
this patch fixes endianness problem in NTLM2 code.
Please consider applying.
Best regards.
--
Andrey Panin | Linux and UNIX system administrator
pazke at donpac.ru | PGP key: wwwkeys.pgp.net
-------------- next part --------------
diff -u dovecot-1.0-test46/src/auth/mech-ntlm.c dovecot-1.0-test46/src/auth/mech-ntlm.c
--- dovecot-1.0-test46/src/auth/mech-ntlm.c 2004-09-28
2008 Dec 29
3
odd epoll() errors
>From my log:
Dec 29 16:43:58 postamt dovecot: Dovecot v1.1.7 starting up
Dec 29 16:43:59 postamt dovecot: Fatal: imap-login: epoll_create(): Too many open files
Dec 29 16:43:59 postamt dovecot: Temporary failure in creating login processes, slowing down for now
Dec 29 16:43:59 postamt dovecot: Fatal: imap-login: epoll_create(): Too many open files
Dec 29 16:43:59 postamt dovecot: Fatal:
2004 Oct 10
1
cvs build broken in auth/db-mysql.c?
After running
./configure --with-ldap --with-ssl=openssl --with-pgsql --with-mysql --without-cyrus-sasl2 --sysconfdir=/etc
(Settings taken from the debian/rules of debian package version 0.99.11-3)
of the cvs HEAD or test46 I get the following error during make:
db-mysql.o(.text+0x116): In function `db_mysql_query':
/tmp/dovecot-1.0-test46/src/auth/db-mysql.c:82: undefined reference to
2004 Oct 05
0
1.0-test46: Assertion failed
Hi,
I'm experiencing there assertions in the mail log (about 8 times during
the last 2 days):
Oct 5 11:20:51 web dovecot: POP3(xxxxx): file mbox-lock.c: line 493
(mbox_lock): assertion failed: (lock_type == F_RDLCK ||
ibox->mbox_lock_type != F_RDLCK)
What is it? I'm running 1.0-test46 and sendmail on FC2. This is in
dovecot.conf:
#fcntl_locks_disable = no
#mbox_read_locks = fcntl
2004 Jun 28
4
Chan_Capi Down
Hi all,
* was running ... I have a WT405P and an AVM C4 with chan_capi 0.3.4a
Today chan_capi stopped working, without any changings at the system.
It seems, that not * is the reason, because isdn-log also shows no calls.
If I try to call * from outside via capi, I only get a busy.
That is the try from inside to outside:
stern01*CLI>
-- data = @89930:0107901723168212
-- capi
2004 Sep 28
3
Moving mail dirs
Hi all,
This is probably a silly question, but I have a problem. I've had to
move my users maildirs from:
maildir:/home/%u/.Maildir
To
maildir:/data/mail/%u
I've updated the MTA to put mail to the correct place and it's working
fine. I've also changed the dovecot.conf file and restarted dovecot and
I thought that would be all I needed to do.
However, the users are getting
2018 Feb 06
1
Segmentation fault in "make check" test_istream_multiplex for 2.3.0 on Solaris Sparc
Hi there,
I get a crash when doing "make check" for version 2.3.0 on Solaris Sparc.
The build was done with gcc 7.3.0.
The crash happens in ioloop-poll.c line 181 when running
test_istream_multiplex.c:
#0 io_loop_handler_run_internal (ioloop=ioloop at entry=0x130dd0) at
ioloop-poll.c:181
181 if (pollfd->revents != 0) {
Due to the code
180
2005 Aug 03
3
debs for 1.0?
Hi,
0.99 is running nicely on my sarges, but I need
pop3_uidl_format = %f for Courier compatibility.
I can't find any debs more recent than test22 of over a year ago
(those are at http://src.braincells.com/dovecot-test/).
Even though google turns up
http://hemma.tobbe.nu/debian/mini-dinstall/incoming/dovecot_1.0.test46-1_i386.changes
searching for dovecot on packages.debian.org (any
2004 Sep 29
2
pgsql and default_pass_scheme
Hello list,
I am running Dovecot 1.0-test46 on FreeBSD with PostgreSQL as backend, runs _very_ nice, but i can not set
"default_pass_scheme = CRYPT" (only PLAIN) for PostgreSQL Auth in dovecot-pgsql.conf.
I have a valid entry in pg_hba.conf (and reloaded/restarted):
"local mail mail crypt"
If i replace crypt in pg_hba.conf
2004 Oct 10
1
1.0-test47
http://dovecot.org/test/
Been a while since last release. Still seems there are some mbox
problems, but I haven't been able to break anything for last few days.
I guess it's stable enough. At least more stable than test46 which
crashed quite often when expunging.
- pretty much rewrote "index extension" support. it's now possible to
add extensions to headers and to
2004 Sep 29
2
UIDL bug
I noticed a problem with handling UIDL msgnumber in test46.
If you do "UIDL 1" on a POP3 connection it returns the UID of the message
followed by a dot and an error message. I made 2 changes:
I added the following line to line 527 of src/pop3/commands.c
ctx->message = message;
I changed line 559 from:
if (list_uids_iter(client, ctx))
to:
if (!list_uids_iter(client, ctx))
2004 May 09
1
No outbound calls at a PRI possible
Hello all,
the scenario:
Carrier ----S2M------ * -----S2M------Siemens
|
|
SIP Clients
and many other features
With much help from the list, the PRI links are without alarms and inbound
calls are working fine (from both: Carrier and Siemens).
But I am not able to dial wether outbound nor to the Siemens PBX.
I allways get the message:
== Everyone is busy
2005 Dec 14
2
Patch: ioloop using kqueue/kevent for FreeBSD
Hi,
I would like to submit the attached patch. It implements IO loop using
FreeBSD's kqueue/kevent syscalls. It is based on snapshot of CVS HEAD as of
2005-12-12.
I could only give it limited testing on FreeBSD 5.4 but it works fine so far.
Vaclav Haisman
-------------- next part --------------
diff -rN -u old-dovecot-cvs/autogen.sh new-dovecot-cvs/autogen.sh
---