Re: mod_ssl, block-on-read problem?

Anders Ringaby <[email protected]>
Newsgroups gmane.comp.apache.mod-ssl.user
Message-ID <[email protected]>

Hello Bob.


> #4  0x08072d00 in ap_hook_call (
>     hook=0xfffffe00 <Address 0xfffffe00 out of bounds>) at ap_hook.c:382
>                               ^^^^^^^^^^^^^^^^^^^^^^^ problem here too?


I don't know about this one ....


> Using strace -p <pid> I get:
> read(3,
>
> Using lsof -n -p <pid> I get and looking for FD 3, I see this:
>
> apache.db 21547 www-data    3u  IPv4 16364769             TCP
> xx.xxx.xxx.xxx:www->xxx.xxx.xxx.xxx:51923 (ESTABLISHED)


.... but when it comes to this one, I would say that the main reason
why a read() keeps hanging on a TCP socket is that the client or peer
has not shut down the connection, that is, the client or peer has not
performed a shutdown(), close() or exit().

Of course, you could argue that mod_ssl should have implemented a
timeout for conditions like that.

Maybe there is some kind of protocol problem here, in that mod_ssl is
still expecting data, while the client thinks there is no more data
to send, or maybe the client too is hanging in a read().


Regards

Anders



______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [email protected]
Automated List Manager                            [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.