Re: EOF from net_disconnect(fd)

2017-09-08 Thread Steffan Cline
Aki, Thanks for your direction! It seems that the issue I’m running into is this: https://www.dovecot.org/list/dovecot-cvs/2014-January/024154.html I’m told it’s fixed in 2.2.11 but CentOS 7’s repos have 2.2.10-7.el7. I found a work-around in the plugin at https://github.com/st3fan/dovecot-xap

Re: EOF from net_disconnect(fd)

2017-09-08 Thread Aki Tuomi
If you are using unix socket, you could use socat to see what's going on there. It might require little setting up though. Aki On 08.09.2017 10:16, Steffan Cline wrote: > I'm not the originator. I'm just trying to do some maintenance on the code to > make it work for CentOS 7. > > I'll check o

Re: EOF from net_disconnect(fd)

2017-09-08 Thread Steffan Cline
I'm not the originator. I'm just trying to do some maintenance on the code to make it work for CentOS 7. I'll check out those two. Any ideas on how to check exactly what's sent via the socket? If the EOF is sent, I know to dig further into the daemon code. Thanks, Steffan Cline stef...@hld

Re: EOF from net_disconnect(fd)

2017-09-08 Thread Steffan Cline
If you read the entire context you'll see code from a dovecot plugin and I'm trying to determine if dovecot is sending an EOF when closing the socket or not because the other end of the socket is at fault. From there I can check elsewhere. Dovecot code, dovecot list, made sense to try here fir

Re: EOF from net_disconnect(fd)

2017-09-07 Thread Aki Tuomi
Hi! Nice to hear you are developing this, I'll add it to our wiki if it's not there. Please don't use net_transmit, it's going away. You should use ostream and istream instead. Aki On 08.09.2017 09:29, Steffan Cline wrote: > I’m working on an OS project from github. There are two parts: > > Do

Re: EOF from net_disconnect(fd)

2017-09-07 Thread Ruben Safir
On 09/08/2017 02:29 AM, Steffan Cline wrote: > I’m working on an OS project from github. There are two parts: > > Dovecot plugin - https://github.com/st3fan/dovecot-xaps-plugin > > Daemon written in Go - https://github.com/st3fan/dovecot-xaps-daemon > what does this have to do with dovecot? >

EOF from net_disconnect(fd)

2017-09-07 Thread Steffan Cline
I’m working on an OS project from github. There are two parts: Dovecot plugin - https://github.com/st3fan/dovecot-xaps-plugin Daemon written in Go - https://github.com/st3fan/dovecot-xaps-daemon # dovecot --version 2.2.10 Both parts worked fine on CentOS 6 but I recently rebuilt them bot