Dear Derick,
during debugging of a Web Page with lots of (yet) undefined variables, a lot of xDebug Signal events
occurred, each on resulting in a transmission to my xDebug client. I've noticed a 100-300 ms delay
after each 'continue' command, before the next Signal arrived. That smelled like the Nagle Algorithm.
Therefore I've added these lines in xdebug_com.c in xdebug_create_socket immediately before the
return sockfd
line:
{
long optval = 1;
setsockopt (sockfd, IPPROTO_TCP, TCP_NODELAY, & optval, sizeof (optval));
}
Now all outgoing traffic is send immediately and the Load Time for my Web Page decreased from 8
Seconds to 1 Second.
Hope that helps.
-- Christof J. Reetz NETPLAN Reetz & Partner GmbH Prinz-Carl-Anlage 20 67547 Worms 06241-955231Received on Tue Aug 17 2004 - 16:33:25 BST
This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:03 BST