Commit 2cb7c5b2 authored by Bruce Momjian's avatar Bruce Momjian

Disable X connection close in ODBC until solution is found.

parent 4ea081e9
...@@ -79,8 +79,10 @@ SOCK_Destructor(SocketClass * self) ...@@ -79,8 +79,10 @@ SOCK_Destructor(SocketClass * self)
{ {
if (!shutdown(self->socket, 2)) /* no sends or receives */ if (!shutdown(self->socket, 2)) /* no sends or receives */
{ {
#ifdef DOES_NOT_WORK
SOCK_put_char(self, 'X'); SOCK_put_char(self, 'X');
SOCK_flush_output(self); SOCK_flush_output(self);
#endif
closesocket(self->socket); closesocket(self->socket);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment