Another request I have received is to implement an EOF on GET requests. This
problem has been encountered by several people.

A browser GET request doesn't carry any stream data but it also doesn't set
content-length to zero. With is no content length set the EOF simulation
code in Jserv will pass a read on the input socket back to Apache. Since
there is no data coming this read will block.

These people shouldn't be trying to read from a stream that doesn't have any
data, but it is a learning process figuring this out. Instead I could add
code to always simulate an EOF on the input stream for a GET request.

Jon Smirl
[EMAIL PROTECTED]




--
----------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to