* ser-tcp.c (tcp_open): Disable Nagle algorithm which
improves performance in some cases.
+2001-12-18 Martin M. Hunt <hunt@redhat.com>
+
+ * ser-tcp.c (tcp_open): Disable Nagle algorithm which
+ improves performance in some cases.
+
2001-12-17 Ben Harris <bjh21@netbsd.org>
* armbsd-nat.c: Remove file, renamed to armnbsd-nat.c.
tmp = 0;
ioctl (scb->fd, FIONBIO, &tmp);
+ /* Disable Nagle algorithm. Needed in some cases. */
+ tmp = 1;
+ setsockopt (scb->fd, IPPROTO_TCP, TCP_NODELAY,
+ (char *)&tmp, sizeof (tmp));
+
/* If we don't do this, then GDB simply exits
when the remote side dies. */
signal (SIGPIPE, SIG_IGN);