freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] Getting DB error = 20017 - Unexpected EOF from the server
- From: Jeff.Goodwin AT fairchildsemi.com
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] Getting DB error = 20017 - Unexpected EOF from the server
- Date: Fri, 13 Mar 2009 14:48:58 -0400
>Looking at http://h71000.www7.hp.com/doc/82final/6529/6529pro_030.html
>and searching for TDSESEOF (you can find it in net.c, tds_goodwrite
>probably raised the error) it seems a constants problem. I think it
>would be safer to replace "sock_errno == EAGAIN" in net.c (there are 4
>occurrencies) with "(sock_errno == EAGAIN || sock_errno == EWOULDBLOCK
>|| sock_errno == EINPROGRESS)". The problem is that in some situations
>tds_select can return even if data are not pending (or not possible to
>write) and catching these errors keep looping.
>
>Regards,
> Frediano
Thanks Frediano.
I've made your suggested changes and have rebuilt FreeTDS. I'll report
back on the result.
Thank you,
Jeff Goodwin
-
[freetds] Getting DB error = 20017 - Unexpected EOF from the server,
Jeff . Goodwin, 03/13/2009
-
Re: [freetds] Getting DB error = 20017 - Unexpected EOF from the server,
Frediano Ziglio, 03/13/2009
- Re: [freetds] Getting DB error = 20017 - Unexpected EOF from the server, Jeff . Goodwin, 03/13/2009
- Re: [freetds] Getting DB error = 20017 - Unexpected EOF from the server, James K. Lowden, 03/13/2009
-
Re: [freetds] Getting DB error = 20017 - Unexpected EOF from the server,
Frediano Ziglio, 03/13/2009
Archive powered by MHonArc 2.6.24.