Re: Adaptor modification - WOResponse streaming failure detection
Lachlan Deck <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi there, On 15/02/2006, at 2:03 AM, Francis Labrie wrote: > Ben Scarola wrote: >> Can someone validate my findings on this? The stock WO Apache >> adaptor does not detect a broken pipe on the client side while >> streaming a response. This means that the WOResponse will always >> read its entire source InputStream and in turn dump all the >> content to the adaptor, even if the pipe from Apache to the client >> is broken. > > Interesting! Did you report this problem to Apple (https:// > bugreport.apple.com/)? > > Maybe it would be nice to add this patch the Wonder (http:// > wonder.sourceforge.net/) enhanced HTTP adaptors as well? We had problems with the current [1] CGI Adaptor, at least, from wonder where it fails to read POSTs throwing an exception (broken pipe). Grabbing the one from WO5.3.1 fixed the problem. Both may not solve the above dilemma but the WO5.3.1 version might be a good starting point anyway. It's not very different - just a few diffs. The wonder one was from a previous Apple version anyway... [1] current might not be the right word. It's not been updated for quite some time. with regards, -- Lachlan Deck