Graham Leggett <[EMAIL PROTECTED]> writes:
> To send the "HTTP/1.1 200 Connection Established" the code uses
> apr_send() -> but this data is never flushed, so it never sees the
> network (a sniff shows nothing over the wire). As a result the
> connections hangs there and the browser never respond
FYI... I'm about to leave for the airport and will be off-line until
next weekend.
apr/test builds are broken and I have no time to fix. I guess Justin
and I are co-conspirators (but not 100% sure :) ).
test]$ make
make[1]: Entering directory `/home/trawick/apache/httpd-2.0/srclib/apr/test'
/bin
Jeff Trawick wrote:
> . apr_send() hands the data straight to the TCP/IP stack; it does not
> buffer data, so there is no need for apr_socket_flush()
Ok.
> . if your APR socket has a timeout set or is non-blocking, apr_send()
> can write fewer bytes than you requested... check the output
>
Jeff Trawick wrote:
> If no bytes are going to the wire, what is happening in the TCP layer?
> Can you use netstat to display info about the TCP connection? Maybe
> there are already bytes in the send buffer and the TCP stack can't
> accept any more because the other side isn't acknowledging byte